Skip to content
Commit b327eac1 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent 53049153
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment