Skip to content

Commit ea94814

Browse files
trelauAaronBallman
andauthored
Use auto
Co-authored-by: Aaron Ballman <[email protected]>
1 parent 197eb86 commit ea94814

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
@@ -59,7 +59,7 @@ unsigned clang_visitCXXMethods(CXType PT, CXFieldVisitor visitor,
5959
CXCursor PC = clang_getTypeDeclaration(PT);
6060
if (clang_isInvalid(PC.kind))
6161
return false;
62-
const CXXRecordDecl *RD =
62+
const auto *RD =
6363
dyn_cast_if_present<CXXRecordDecl>(cxcursor::getCursorDecl(PC));
6464
if (!RD || RD->isInvalidDecl())
6565
return false;

0 commit comments

Comments
 (0)