From: Hubert Tong Date: Wed, 20 Jul 2016 00:57:56 +0000 (+0000) Subject: Fix r276069: add default argument for new parameter X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23def507c579930c931c7aa85909d6c30cfcc62d;p=clang 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 --- 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;