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 | b7e7f722a25ece99834a6d9e447b2e89e7c5a56a (patch) | |
tree | c2dc3d80a4fd04a1fb56ec84f6fa5a7a6a4d1302 /clang/test/PCH/cxx_exprs.h | |
parent | 82828a31f67e1eba976dbcfada8d4f26a127845c (diff) | |
download | bcm5719-llvm-b7e7f722a25ece99834a6d9e447b2e89e7c5a56a.tar.gz bcm5719-llvm-b7e7f722a25ece99834a6d9e447b2e89e7c5a56a.zip |
pchify CXXMemberCallExpr correctly. Before it would serialize
and deserialize as a CallExpr which is close, but ends up
deserializing with the wrong stmt class.
llvm-svn: 103371
Diffstat (limited to 'clang/test/PCH/cxx_exprs.h')
-rw-r--r-- | clang/test/PCH/cxx_exprs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/PCH/cxx_exprs.h b/clang/test/PCH/cxx_exprs.h index a871aa201f1..6766842f0a2 100644 --- a/clang/test/PCH/cxx_exprs.h +++ b/clang/test/PCH/cxx_exprs.h @@ -27,3 +27,8 @@ const bool false_value = false; // CXXNullPtrLiteralExpr typedef __typeof__(nullptr) cxx_null_ptr_result; + +void foo(Derived *P) { + // CXXMemberCallExpr + P->f(); +}
\ No newline at end of file |