diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-23 00:30:41 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-23 00:30:41 +0000 |
| commit | 5705f211472f19fc38e58d81365f9261024b3ba3 (patch) | |
| tree | f67ac33d73973accedc40b2b3406dceacb88ab33 /lib/CodeGen/CGExprAgg.cpp | |
| parent | aa9df09729fb8aee3e645549e95fcb413306a7aa (diff) | |
| download | clang-5705f211472f19fc38e58d81365f9261024b3ba3.tar.gz clang-5705f211472f19fc38e58d81365f9261024b3ba3.tar.bz2 clang-5705f211472f19fc38e58d81365f9261024b3ba3.tar.xz | |
PR14772: Support constant expression evaluation for _Atomic types.
* Treat _Atomic(T) as a literal type if T is a literal type.
* Evaluate expressions of this type properly.
* Fix a lurking bug where we built completely bogus ASTs for converting to
_Atomic types in C++ in some cases, caught by the tests for this change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
