r234976 - Use concrete type instead of auto in for-loop. No functionality change.
Richard Trieu
rtrieu at google.com
Tue Apr 14 20:48:48 PDT 2015
Author: rtrieu
Date: Tue Apr 14 22:48:48 2015
New Revision: 234976
URL: http://llvm.org/viewvc/llvm-project?rev=234976&view=rev
Log:
Use concrete type instead of auto in for-loop. No functionality change.
Modified:
cfe/trunk/lib/Sema/SemaLookup.cpp
Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=234976&r1=234975&r2=234976&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Tue Apr 14 22:48:48 2015
@@ -3070,7 +3070,7 @@ static void LookupVisibleDecls(DeclConte
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);
More information about the cfe-commits
mailing list