Skip to content
Commit b9c5a600 authored by Richard Smith's avatar Richard Smith
Browse files

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
parent d5b247b8
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