diff options
author | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2016-07-20 00:57:56 +0000 |
---|---|---|
committer | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2016-07-20 00:57:56 +0000 |
commit | 23def507c579930c931c7aa85909d6c30cfcc62d (patch) | |
tree | 8f23a8531096befea826a9da0fd77fd0d033d8fd /include/clang/AST/DeclTemplate.h | |
parent | d575960cf371b25c7963229771a393bdbd864ed9 (diff) |
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
Diffstat (limited to 'include/clang/AST/DeclTemplate.h')
-rw-r--r-- | include/clang/AST/DeclTemplate.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<NamedDecl *> Params, SourceLocation RAngleLoc, - Expr *RequiresClause); + Expr *RequiresClause = nullptr); /// \brief Iterates through the template parameters in this list. typedef NamedDecl** iterator; |