From: Chris Lattner Date: Sun, 26 Aug 2007 04:42:42 +0000 (+0000) Subject: Why didn't gcc catch this? :( X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3f6ca6942169131ce55dac18366d80f0393ed4f;p=clang Why didn't gcc catch this? :( git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41420 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index ca07cbf972..6d9be805fe 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -239,7 +239,7 @@ public: None, Extern, Static }; FunctionDecl(SourceLocation L, IdentifierInfo *Id, QualType T, - StorageClass S = None, bool isInline, Decl *PrevDecl = 0) + StorageClass S = None, bool isInline = false, Decl *PrevDecl = 0) : ValueDecl(Function, L, Id, T, PrevDecl), ParamInfo(0), Body(0), DeclChain(0), SClass(S), IsInline(isInline) {} virtual ~FunctionDecl();