diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-04 05:04:07 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-04 05:04:07 +0000 |
commit | e6585a7d71510be00a625686153f48d496d3bbf1 (patch) | |
tree | 82b07fc8eca4af1e9e2fd2c711de24c3ebfdeea1 | |
parent | 5adf4389fa525c3a8d80cfde03b37774ad044540 (diff) |
Actually initialize HasQualifier and HasExplicitTemplateArgumentList in the EmptyShell constructor for MemberExpr. Should clear up some valgrind failures in PCH reading
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80984 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Expr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index 0d333e2ee4..b42c736432 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -1144,7 +1144,9 @@ public: HasQualifier(false), HasExplicitTemplateArgumentList(false) {} /// \brief Build an empty member reference expression. - explicit MemberExpr(EmptyShell Empty) : Expr(MemberExprClass, Empty) { } + explicit MemberExpr(EmptyShell Empty) + : Expr(MemberExprClass, Empty), HasQualifier(false), + HasExplicitTemplateArgumentList(false) { } static MemberExpr *Create(ASTContext &C, Expr *base, bool isarrow, NestedNameSpecifier *qual, SourceRange qualrange, |