]> granicus.if.org Git - clang/commit
[Sema] Document+test the -Wsign-conversion change for enums in C code [NFC]
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 4 Nov 2017 20:27:47 +0000 (20:27 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 4 Nov 2017 20:27:47 +0000 (20:27 +0000)
commita54d18761bea291cfe7735f73d4b45ff23b7a835
treefe4796fb13267cbcca74414e9b5f84299507405f
parent0576e32faa24ba1ad257be2a3bd32e82762bc243
[Sema] Document+test the -Wsign-conversion change for enums in C code [NFC]

Basically a regression after r316268.
However the diagnostic is correct, but the test coverage is bad.

So just like rL316500, introduce yet more tests,
and adjust the release notes.

See https://bugs.llvm.org/show_bug.cgi?id=35200

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317421 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ReleaseNotes.rst
test/Sema/enum-sign-conversion.c [new file with mode: 0644]