summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-02-18 03:01:41 +0000
committerDouglas Gregor <dgregor@apple.com>2011-02-18 03:01:41 +0000
commitb327eac1176a91b90b4755ec4b152ba42c0e2059 (patch)
tree07c79da0668fe27016ac137b419fe02e25f2790c /clang/lib/Basic/Targets.cpp
parent53049153cf044fc34e8d1f5516dff6ee7a4d0712 (diff)
downloadbcm5719-llvm-b327eac1176a91b90b4755ec4b152ba42c0e2059.tar.gz
bcm5719-llvm-b327eac1176a91b90b4755ec4b152ba42c0e2059.zip
Implement C++0x [expr.static.cast]p9, which permits explicitly casting
a scoped enumeration type to an integral or floating type, properly. There was an over-eager assertion, and it was missing the floating-point case. Fixes PR9107/<rdar://problem/8937402>. llvm-svn: 125825
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud