aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;