commit | a07a6c3e756d0a6a5baa2cad9d165f79f0fb1b42 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed May 01 19:00:39 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed May 01 19:00:39 2013 +0000 |
tree | 86ae2534898f642795d144c01eb95e31b9b868eb | |
parent | 112344ab7f96cf482bce80530676712c282756d5 [diff] |
PR15884: In the 'taking the address of a temporary' extension, materialize the temporary to an lvalue before taking its address. This removes a weird special case from the AST representation, and allows the constant expression evaluator to deal with it without (broken) hacks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180866 91177308-0d34-0410-b5e6-96231b3b80d8