]> granicus.if.org Git - clang/commit
Specify an explicit underlying type for this enum to fix Windows
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 29 Jun 2018 20:41:23 +0000 (20:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 29 Jun 2018 20:41:23 +0000 (20:41 +0000)
commitdd5dcddd4129abf56d69a0d5b380cc7c31ef07ee
tree642d8539d80b8d649a8218bf205ed40b24579bb8
parent833ad29a88de7d88bd69234b5069bbfaea0235d1
Specify an explicit underlying type for this enum to fix Windows
buildbots.

On Windows targets, enums always get an underlying type of 'int', even
if they have wider enumerators. (This is non-conforming, but it's
effectively part of the target ABI.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@336013 91177308-0d34-0410-b5e6-96231b3b80d8
test/CXX/conv/conv.prom/p5.cpp