Remove RequireCompleteType call which was made redundant by r162586.

llvm-svn: 162630
This commit is contained in:
Richard Smith 2012-08-24 23:51:39 +00:00
parent e30d4994f2
commit a6a03369da
1 changed files with 0 additions and 7 deletions

View File

@ -2667,13 +2667,6 @@ void Sema::ArgumentDependentLookup(DeclarationName Name, bool Operator,
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