Fix r276069: add default argument for new parameter

llvm-svn: 276073
This commit is contained in:
Hubert Tong 2016-07-20 00:57:56 +00:00
parent 6114b37838
commit 9aa955b3ae
1 changed files with 2 additions and 1 deletions

View File

@ -80,12 +80,13 @@ protected:
Expr *RequiresClause); Expr *RequiresClause);
public: public:
// FIXME: remove default argument for RequiresClause
static TemplateParameterList *Create(const ASTContext &C, static TemplateParameterList *Create(const ASTContext &C,
SourceLocation TemplateLoc, SourceLocation TemplateLoc,
SourceLocation LAngleLoc, SourceLocation LAngleLoc,
ArrayRef<NamedDecl *> Params, ArrayRef<NamedDecl *> Params,
SourceLocation RAngleLoc, SourceLocation RAngleLoc,
Expr *RequiresClause); Expr *RequiresClause = nullptr);
/// \brief Iterates through the template parameters in this list. /// \brief Iterates through the template parameters in this list.
typedef NamedDecl** iterator; typedef NamedDecl** iterator;