[cfe-commits] r162630 - /cfe/trunk/lib/Sema/SemaLookup.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Fri Aug 24 16:51:40 PDT 2012
Author: rsmith
Date: Fri Aug 24 18:51:39 2012
New Revision: 162630
URL: http://llvm.org/viewvc/llvm-project?rev=162630&view=rev
Log:
Remove RequireCompleteType call which was made redundant by r162586.
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=162630&r1=162629&r2=162630&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Fri Aug 24 18:51:39 2012
@@ -2667,13 +2667,6 @@
T2 = Args[1]->getType();
}
- // Try to complete all associated classes, in case they contain a
- // declaration of a friend function.
- for (AssociatedClassSet::iterator C = AssociatedClasses.begin(),
- CEnd = AssociatedClasses.end();
- C != CEnd; ++C)
- RequireCompleteType(Loc, Context.getRecordType(*C), 0);
-
// C++ [basic.lookup.argdep]p3:
// Let X be the lookup set produced by unqualified lookup (3.4.1)
// and let Y be the lookup set produced by argument dependent
More information about the cfe-commits
mailing list