From: Chris Lattner Date: Thu, 12 Jul 2007 15:26:16 +0000 (+0000) Subject: add missing specification for a default argument. I guess g++ 4.0 doesn't X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3724c00ab70b1f86ae1afa01587c4cb811570433;p=clang add missing specification for a default argument. I guess g++ 4.0 doesn't notice this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39776 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 3411f1f9e3..80474cde2a 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -212,7 +212,7 @@ public: None, Extern, Static }; FunctionDecl(SourceLocation L, IdentifierInfo *Id, QualType T, - StorageClass S = None, Decl *PrevDecl) + StorageClass S = None, Decl *PrevDecl = 0) : ValueDecl(Function, L, Id, T, PrevDecl), ParamInfo(0), Body(0), DeclChain(0), SClass(S) {} virtual ~FunctionDecl();