aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-03 00:29:43 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-03 00:29:43 +0000
commite4687ef4b9c72e1c476fce27d0abc1a2f78f739c (patch)
treee87d4d54579ba20a0af6a88a413d70dfda3d35eb
parent51d07cb2f9b7e1e958a44cf894b7372b26b3b6bc (diff)
Initialize your storage, dummy
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97615 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/ASTContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h
index c023ec0cde..6767f52f4d 100644
--- a/include/clang/AST/ASTContext.h
+++ b/include/clang/AST/ASTContext.h
@@ -79,6 +79,8 @@ class CXXMethodVector {
typedef std::vector<const CXXMethodDecl *> vector_type;
public:
+ CXXMethodVector() : Storage(0) { }
+
typedef const CXXMethodDecl **iterator;
iterator begin() const;
iterator end() const;