| commit | ff790f15c4ec28062ef2cdec9674a6284c29c819 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Thu Nov 26 00:44:06 2009 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Thu Nov 26 00:44:06 2009 +0000 |
| tree | 16f225ee467790e61ab262c87a2de0d8423a2e38 | |
| parent | a4c986cbddac04d7bc496d977e32cfeee0f3d7ab [diff] |
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