diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-26 00:44:06 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-26 00:44:06 +0000 |
commit | ff790f15c4ec28062ef2cdec9674a6284c29c819 (patch) | |
tree | 16f225ee467790e61ab262c87a2de0d8423a2e38 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a4c986cbddac04d7bc496d977e32cfeee0f3d7ab (diff) | |
download | bcm5719-llvm-ff790f15c4ec28062ef2cdec9674a6284c29c819.tar.gz bcm5719-llvm-ff790f15c4ec28062ef2cdec9674a6284c29c819.zip |
Refactor our handling of expression evaluation contexts, so that Sema
maintains a stack of evaluation contexts rather than having the parser
do it. This change made it simpler to track in which contexts
temporaries were created, so that we could...
"Forget" about temporaries created within unevaluated contexts, so
that we don't build a CXXExprWithTemporaries and, therefore, destroy
the integral-constness of our expressions. Fixes PR5609.
llvm-svn: 89908
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions