From 23def507c579930c931c7aa85909d6c30cfcc62d Mon Sep 17 00:00:00 2001 From: Hubert Tong Date: Wed, 20 Jul 2016 00:57:56 +0000 Subject: [PATCH] Fix r276069: add default argument for new parameter git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276073 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclTemplate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/clang/AST/DeclTemplate.h b/include/clang/AST/DeclTemplate.h index 4d8aaea91b..e70b29e53a 100644 --- a/include/clang/AST/DeclTemplate.h +++ b/include/clang/AST/DeclTemplate.h @@ -80,12 +80,13 @@ protected: Expr *RequiresClause); public: + // FIXME: remove default argument for RequiresClause static TemplateParameterList *Create(const ASTContext &C, SourceLocation TemplateLoc, SourceLocation LAngleLoc, ArrayRef Params, SourceLocation RAngleLoc, - Expr *RequiresClause); + Expr *RequiresClause = nullptr); /// \brief Iterates through the template parameters in this list. typedef NamedDecl** iterator; -- 2.40.0