diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-10-24 21:07:08 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-10-24 21:07:08 +0000 |
commit | 41bf4f38348561a0f12c10d34f1673cd19a6eb04 (patch) | |
tree | a25c2f2f62a67616820b5b3bed53a4cf8af898c8 /lib/StaticAnalyzer/Core/ExprEngine.cpp | |
parent | 9875c6020f6f2832e48c0d41910ba9fc99181670 (diff) |
Constant expression evaluation: evaluate lvalues as lvalues, and rvalues as
rvalues, as C++11 constant evaluation semantics require. DeclRefs referring to
references can now use the normal initialization-caching codepath, which
incidentally fixes a crash in cyclic initialization of references.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions