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;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits