diff options
author | Chris Lattner <sabre@nondot.org> | 2010-05-09 05:36:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-05-09 05:36:05 +0000 |
commit | 1817bd483b538fd3f4530649f5cb900bad9e8a76 (patch) | |
tree | aaed8541c83ea3688f03294029258648ca92a503 /lib/Frontend/PCHReaderStmt.cpp | |
parent | ddae877b5d1657398f6a8f528dbd3f20dc19607f (diff) |
pchify CXXMemberCallExpr correctly. Before it would serialize
and deserialize as a CallExpr which is close, but ends up
deserializing with the wrong stmt class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderStmt.cpp')
-rw-r--r-- | lib/Frontend/PCHReaderStmt.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Frontend/PCHReaderStmt.cpp b/lib/Frontend/PCHReaderStmt.cpp index ef6b77026d..394a894e4e 100644 --- a/lib/Frontend/PCHReaderStmt.cpp +++ b/lib/Frontend/PCHReaderStmt.cpp @@ -1304,6 +1304,10 @@ Stmt *PCHReader::ReadStmt(llvm::BitstreamCursor &Cursor) { case pch::EXPR_CXX_OPERATOR_CALL: S = new (Context) CXXOperatorCallExpr(*Context, Empty); break; + + case pch::EXPR_CXX_MEMBER_CALL: + S = new (Context) CXXMemberCallExpr(*Context, Empty); + break; case pch::EXPR_CXX_CONSTRUCT: S = new (Context) CXXConstructExpr(Empty, *Context, |