Simplify. This function bails out a few lines above if !Found.empty().

llvm-svn: 189857
This commit is contained in:
Richard Smith 2013-09-03 21:22:41 +00:00
parent ad3029a8de
commit e7d67f2e01
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ void Sema::LookupTemplateName(LookupResult &Found,
}
if (S && !ObjectType.isNull() && !ObjectTypeSearchedInScope &&
!(getLangOpts().CPlusPlus11 && !Found.empty())) {
!getLangOpts().CPlusPlus11) {
// C++03 [basic.lookup.classref]p1:
// [...] If the lookup in the class of the object expression finds a
// template, the name is also looked up in the context of the entire