commit | 5705f211472f19fc38e58d81365f9261024b3ba3 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu May 23 00:30:41 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu May 23 00:30:41 2013 +0000 |
tree | f67ac33d73973accedc40b2b3406dceacb88ab33 | |
parent | aa9df09729fb8aee3e645549e95fcb413306a7aa [diff] |
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