Remove -Wsigned-enum-bitfield from -Wmost. On a wide set of ABIs, this warning
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 17 Nov 2016 02:16:09 +0000 (02:16 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 17 Nov 2016 02:16:09 +0000 (02:16 +0000)
commit467b79c5579f97b7e588c3696b2dbe0bbe6cff05
tree714aa5c4cc35c703bb6a6c34dfbb617ac1678e36
parent4162baa4bbee22c7a7445a0a7128c1cee50009ab
Remove -Wsigned-enum-bitfield from -Wmost. On a wide set of ABIs, this warning
is completely irrelevant, producing (effectively) false positives, and -Wmost
is used pretty widely. We should somehow turn it back on by default when
targeting the MS ABI, however, since it indicates the program will not do as
intended in those cases.

(Or perhaps we should just treat enum bitfields as having the signedness of the
enum, even when targeting the MS ABI...)

llvm-svn: 287193
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td