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 | a23ab514c2a126bcdfd30f3edaf4da6800bcd534 (patch) | |
tree | 7051d1cc2458bb979558e0e2157bd122a8ce70e7 /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | d389cc3a2e74319cde7b8c49acc915ac4ca06ec6 (diff) | |
download | llvm-a23ab514c2a126bcdfd30f3edaf4da6800bcd534.zip llvm-a23ab514c2a126bcdfd30f3edaf4da6800bcd534.tar.gz llvm-a23ab514c2a126bcdfd30f3edaf4da6800bcd534.tar.bz2 |
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.
llvm-svn: 182541
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions