Fix r276069: add default argument for new parameter
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Wed, 20 Jul 2016 00:57:56 +0000 (00:57 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Wed, 20 Jul 2016 00:57:56 +0000 (00:57 +0000)
llvm-svn: 276073

clang/include/clang/AST/DeclTemplate.h

index 4d8aaea..e70b29e 100644 (file)
@@ -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;