[cfe-commits] r80984 - /cfe/trunk/include/clang/AST/Expr.h
Douglas Gregor
dgregor at apple.com
Thu Sep 3 22:04:08 PDT 2009
Author: dgregor
Date: Fri Sep 4 00:04:07 2009
New Revision: 80984
URL: http://llvm.org/viewvc/llvm-project?rev=80984&view=rev
Log:
Actually initialize HasQualifier and HasExplicitTemplateArgumentList in the EmptyShell constructor for MemberExpr. Should clear up some valgrind failures in PCH reading
Modified:
cfe/trunk/include/clang/AST/Expr.h
Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=80984&r1=80983&r2=80984&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Fri Sep 4 00:04:07 2009
@@ -1144,7 +1144,9 @@
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,
More information about the cfe-commits
mailing list