]> granicus.if.org Git - clang/commitdiff
Fix a merge conflict that was inadvertently introduced in r330888
authorFaisal Vali <faisalv@yahoo.com>
Thu, 26 Apr 2018 01:05:05 +0000 (01:05 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Thu, 26 Apr 2018 01:05:05 +0000 (01:05 +0000)
- during the reversion of r330794

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330889 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaTemplate.cpp

index 190dd0721fd90ae8fc91d487d6b5d5808411d22c..239f3617ca9e2c8fdf077520661e340aeed318ca 100644 (file)
@@ -4021,12 +4021,6 @@ ExprResult Sema::BuildTemplateIdExpr(const CXXScopeSpec &SS,
                               TemplateKWLoc, TemplateArgs);
   }
 
-  if (R.getAsSingle<ConceptDecl>() && !AnyDependentArguments()) {
-    return CheckConceptTemplateId(SS, R.getLookupNameInfo(),
-                                  R.getAsSingle<ConceptDecl>(),
-                                  TemplateKWLoc, TemplateArgs);
-  }
-
   // We don't want lookup warnings at this point.
   R.suppressDiagnostics();