Skip to content

Commit 76a3b8f

Browse files
trelauEndilll
andauthored
Update to const auto *Method
Co-authored-by: Vlad Serebrennikov <[email protected]>
1 parent 04ab0d5 commit 76a3b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/tools/libclang/CIndexCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ unsigned clang_visitCXXMethods(CXType PT, CXFieldVisitor visitor,
6767
if (!RD || RD->isInvalidDecl())
6868
return false;
6969

70-
for (auto Method : RD->methods()) {
70+
for (const auto *Method : RD->methods()) {
7171
// Callback to the client.
7272
switch (
7373
visitor(cxcursor::MakeCXCursor(Method, getCursorTU(PC)),

0 commit comments

Comments
 (0)