summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/conv/conv.prom/p4.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-191-0/+1
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
* Fix incorrect comment.Richard Smith2012-09-131-1/+1
| | | | llvm-svn: 163850
* Fix up after r163846. Sorry!Richard Smith2012-09-131-3/+4
| | | | llvm-svn: 163849
* Implement C++11 [conv.prom]p4: an enumeration with a fixed underlying type hasRichard Smith2012-09-131-0/+17
| | | | | | | | | 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
* Compute the promoted integer type of fixed-width enums correctly. Found by ↵Eli Friedman2011-10-261-0/+9
inspection. llvm-svn: 143021
OpenPOWER on IntegriCloud