diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-09-13 21:18:54 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-09-13 21:18:54 +0000 |
| commit | b9c5a600456813bd67ad75a4e4136c44900dd440 (patch) | |
| tree | 3a829476fb6b03a187c5ede51b728023b13abc1c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | d5b247b886ee4f2c674ba7b6669ac73368c1a80b (diff) | |
Implement C++11 [conv.prom]p4: an enumeration with a fixed underlying type has
integral promotions to both its underlying type and to its underlying type's
promoted type. This matters now that boolean conversions aren't permitted in
converted constant expressions (a la DR1407): an enumerator with a fixed
underlying type of bool still can be.
llvm-svn: 163841
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
