summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2016-07-20 00:57:56 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2016-07-20 00:57:56 +0000
commit9aa955b3ae133c9d4ab73e837b2be62fcb4ed173 (patch)
tree9f80932ffaa2fb801da37508414315a073d41a22 /clang
parent6114b378380904423cf7dd5abc94b11dfe5f59f9 (diff)
downloadbcm5719-llvm-9aa955b3ae133c9d4ab73e837b2be62fcb4ed173.tar.gz
bcm5719-llvm-9aa955b3ae133c9d4ab73e837b2be62fcb4ed173.zip
Fix r276069: add default argument for new parameter
llvm-svn: 276073
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/AST/DeclTemplate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/AST/DeclTemplate.h b/clang/include/clang/AST/DeclTemplate.h
index 4d8aaea91b3..e70b29e53a2 100644
--- a/clang/include/clang/AST/DeclTemplate.h
+++ b/clang/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;
OpenPOWER on IntegriCloud