forked from OSchip/llvm-project
Added 'const' as suggested by ClangTidy llvm-qualified-auto
This commit is contained in:
parent
2c6c169dbd
commit
2e77f0cf76
|
@ -79,7 +79,7 @@ TEST(Decl, AsmLabelAttr) {
|
|||
"Expected target to have a global prefix");
|
||||
DiagnosticsEngine &Diags = AST->getDiagnostics();
|
||||
|
||||
auto *DeclS =
|
||||
const auto *DeclS =
|
||||
selectFirst<CXXRecordDecl>("d", match(cxxRecordDecl().bind("d"), Ctx));
|
||||
NamedDecl *DeclF = *DeclS->method_begin();
|
||||
NamedDecl *DeclG = *(++DeclS->method_begin());
|
||||
|
|
Loading…
Reference in New Issue