|
@@ -2877,7 +2877,7 @@ Sema::BuildQualifiedTemplateIdExpr(CXXScopeSpec &SS,
|
|
|
if (!(DC = computeDeclContext(SS, false)) ||
|
|
|
DC->isDependentContext() ||
|
|
|
RequireCompleteDeclContext(SS, DC))
|
|
|
- return BuildDependentDeclRefExpr(SS, TemplateKWLoc, NameInfo, TemplateArgs);
|
|
|
+ return ExprError();
|
|
|
|
|
|
bool MemberOfUnknownSpecialization;
|
|
|
LookupResult R(*this, NameInfo, LookupOrdinaryName);
|