diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-06-03 05:03:02 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-06-03 05:03:02 +0000 |
commit | 844010455d6da7cbbede6a72b9231759c00ab732 (patch) | |
tree | 7ce1bb60b51779ac65ae081db0504ce6cc55358f /llvm/lib/Target/Sparc | |
parent | 2fcb73984a19ac0633c48dddd595405cfa1ff219 (diff) | |
download | bcm5719-llvm-844010455d6da7cbbede6a72b9231759c00ab732.tar.gz bcm5719-llvm-844010455d6da7cbbede6a72b9231759c00ab732.zip |
Refactor constant expression evaluation to associate the complete object of a
materialized temporary with the corresponding MaterializeTemporaryExpr. This is
groundwork for providing C++11's guaranteed static initialization for global
references bound to lifetime-extended temporaries (if the initialization is a
constant expression).
In passing, fix a couple of bugs where some evaluation failures didn't trigger
diagnostics, and a rejects-valid where potential constant expression testing
would assume that it knew the dynamic type of *this and would reject programs
which relied on it being some derived type.
llvm-svn: 183093
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions