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

Chris Lattner sabre at nondot.org
Fri Aug 24 18:49:17 PDT 2007


Author: lattner
Date: Fri Aug 24 20:49:16 2007
New Revision: 41391

URL: http://llvm.org/viewvc/llvm-project?rev=41391&view=rev
Log:
Fix clang -parse-ast-dump carbon.c


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=41391&r1=41390&r2=41391&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Fri Aug 24 20:49:16 2007
@@ -186,7 +186,7 @@
 protected:
   VarDecl(Kind DK, SourceLocation L, IdentifierInfo *Id, QualType T,
           StorageClass SC, Decl *PrevDecl)
-    : ValueDecl(DK, L, Id, T, PrevDecl) { SClass = SC; }
+    : ValueDecl(DK, L, Id, T, PrevDecl), Init(0) { SClass = SC; }
 private:
   StorageClass SClass;
   Expr *Init;





More information about the cfe-commits mailing list