[cfe-commits] r39776 - /cfe/trunk/include/clang/AST/Decl.h

Chris Lattner sabre at nondot.org
Thu Jul 12 08:26:16 PDT 2007


Author: lattner
Date: Thu Jul 12 10:26:16 2007
New Revision: 39776

URL: http://llvm.org/viewvc/llvm-project?rev=39776&view=rev
Log:
add missing specification for a default argument.  I guess g++ 4.0 doesn't
notice 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=39776&r1=39775&r2=39776&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Thu Jul 12 10:26:16 2007
@@ -212,7 +212,7 @@
     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();





More information about the cfe-commits mailing list