]> granicus.if.org Git - clang/commitdiff
Fix r276069: use LLVM_CONSTEXPR
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Wed, 20 Jul 2016 00:41:30 +0000 (00:41 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Wed, 20 Jul 2016 00:41:30 +0000 (00:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276071 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp

index 0c8779ba8c5f1533c190fb6e11bb8d0d1a53bd9a..05b30a4cd62e5e6dabbe69b0555adf739aa66e51 100644 (file)
@@ -653,7 +653,7 @@ ASTContext::getCanonicalTemplateTemplateParmDecl(
 
   assert(!TTP->getRequiresClause() &&
          "Unexpected requires-clause on template template-parameter");
-  constexpr Expr *const CanonRequiresClause = nullptr;
+  LLVM_CONSTEXPR Expr *const CanonRequiresClause = nullptr;
 
   TemplateTemplateParmDecl *CanonTTP
     = TemplateTemplateParmDecl::Create(*this, getTranslationUnitDecl(),