r277658 - [Concepts] remove default argument for RequiresClause; NFC

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 3 15:07:50 PDT 2016


Author: hubert.reinterpretcast
Date: Wed Aug  3 17:07:50 2016
New Revision: 277658

URL: http://llvm.org/viewvc/llvm-project?rev=277658&view=rev
Log:
[Concepts] remove default argument for RequiresClause; NFC

Modified:
    cfe/trunk/include/clang/AST/DeclTemplate.h

Modified: cfe/trunk/include/clang/AST/DeclTemplate.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclTemplate.h?rev=277658&r1=277657&r2=277658&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclTemplate.h (original)
+++ cfe/trunk/include/clang/AST/DeclTemplate.h Wed Aug  3 17:07:50 2016
@@ -80,13 +80,12 @@ 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 = nullptr);
+                                       Expr *RequiresClause);
 
   /// \brief Iterates through the template parameters in this list.
   typedef NamedDecl** iterator;




More information about the cfe-commits mailing list