Added 'const' as suggested by ClangTidy llvm-qualified-auto

This commit is contained in:
Dmitri Gribenko 2020-03-13 11:49:23 +01:00
parent 2c6c169dbd
commit 2e77f0cf76
1 changed files with 1 additions and 1 deletions

View File

@ -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());