]> granicus.if.org Git - clang/commitdiff
Why didn't gcc catch this? :(
authorChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 04:42:42 +0000 (04:42 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Aug 2007 04:42:42 +0000 (04:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41420 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h

index ca07cbf9727a492e836a2c86ff6909fd4d52a97e..6d9be805fe53d5bc4b3d77091d17573875dba2df 100644 (file)
@@ -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();