1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Set underlying type for enum with GNU_PROPERTY_X86_FEATURE_1_AND constant

The constant was causing a -Wc++11-narrowing error when compiled with
clang-cl (see PR30776).

llvm-svn: 333520
This commit is contained in:
Hans Wennborg 2018-05-30 09:04:57 +00:00
parent 9ce3dd499f
commit b26833d513

View File

@ -1305,7 +1305,7 @@ enum {
};
// Property types used in GNU_PROPERTY_TYPE_0 notes.
enum {
enum : unsigned {
GNU_PROPERTY_STACK_SIZE = 1,
GNU_PROPERTY_NO_COPY_ON_PROTECTED = 2,
GNU_PROPERTY_X86_FEATURE_1_AND = 0xc0000002