[cfe-commits] r41420 - /cfe/trunk/include/clang/AST/Decl.h
Chris Lattner
sabre at nondot.org
Sat Aug 25 21:42:43 PDT 2007
Author: lattner
Date: Sat Aug 25 23:42:42 2007
New Revision: 41420
URL: http://llvm.org/viewvc/llvm-project?rev=41420&view=rev
Log:
Why didn't gcc catch this? :(
Modified:
cfe/trunk/include/clang/AST/Decl.h
Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=41420&r1=41419&r2=41420&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Sat Aug 25 23:42:42 2007
@@ -239,7 +239,7 @@
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();
More information about the cfe-commits
mailing list