Skip to content

Commit

Permalink
Added 'const' as suggested by ClangTidy llvm-qualified-auto
Browse files Browse the repository at this point in the history
  • Loading branch information
gribozavr committed Mar 13, 2020
1 parent 2c6c169 commit 2e77f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/unittests/AST/DeclTest.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit 2e77f0c

Please sign in to comment.