[cfe-commits] r97615 - /cfe/trunk/include/clang/AST/ASTContext.h

Douglas Gregor dgregor at apple.com
Tue Mar 2 16:29:44 PST 2010


Author: dgregor
Date: Tue Mar  2 18:29:43 2010
New Revision: 97615

URL: http://llvm.org/viewvc/llvm-project?rev=97615&view=rev
Log:
Initialize your storage, dummy

Modified:
    cfe/trunk/include/clang/AST/ASTContext.h

Modified: cfe/trunk/include/clang/AST/ASTContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTContext.h?rev=97615&r1=97614&r2=97615&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Tue Mar  2 18:29:43 2010
@@ -79,6 +79,8 @@
   typedef std::vector<const CXXMethodDecl *> vector_type;
 
 public:
+  CXXMethodVector() : Storage(0) { }
+
   typedef const CXXMethodDecl **iterator;
   iterator begin() const;
   iterator end() const;





More information about the cfe-commits mailing list