diff options
author | Richard Trieu <rtrieu@google.com> | 2015-04-15 03:48:48 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2015-04-15 03:48:48 +0000 |
commit | 20abd6bc04936ff2ec7ec01386780e7c0c022117 (patch) | |
tree | b5f8a5aca96ed9e3f72c62ff2c95eccd95be1ad3 /clang/lib/Sema/SemaLookup.cpp | |
parent | 38aac6495ab0c94a6f1df8d81ace8671f6eef4c6 (diff) | |
download | bcm5719-llvm-20abd6bc04936ff2ec7ec01386780e7c0c022117.tar.gz bcm5719-llvm-20abd6bc04936ff2ec7ec01386780e7c0c022117.zip |
Use concrete type instead of auto in for-loop. No functionality change.
llvm-svn: 234976
Diffstat (limited to 'clang/lib/Sema/SemaLookup.cpp')
-rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index d471e89b9c6..09424a48d63 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -3070,7 +3070,7 @@ static void LookupVisibleDecls(DeclContext *Ctx, LookupResult &Result, Result.getSema().ForceDeclarationOfImplicitMembers(Class); // Enumerate all of the results in this context. - for (const auto R : Ctx->lookups()) { + for (DeclContextLookupResult R : Ctx->lookups()) { for (auto *D : R) { if (auto *ND = Result.getAcceptableDecl(D)) { Consumer.FoundDecl(ND, Visited.checkHidden(ND), Ctx, InBaseClass); |