diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2017-11-04 20:27:47 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2017-11-04 20:27:47 +0000 |
commit | a54d18761bea291cfe7735f73d4b45ff23b7a835 (patch) | |
tree | fe4796fb13267cbcca74414e9b5f84299507405f /docs/ReleaseNotes.rst | |
parent | 0576e32faa24ba1ad257be2a3bd32e82762bc243 (diff) |
[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
Diffstat (limited to 'docs/ReleaseNotes.rst')
-rw-r--r-- | docs/ReleaseNotes.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index 4c8099121e..8699812496 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -82,7 +82,8 @@ Improvements to Clang's diagnostics tautological comparisons between integer variable of the type ``T`` and the largest/smallest possible integer constant of that same type. -- For C code, ``-Wsign-compare``, ``-Wtautological-constant-compare`` and +- For C code, ``-Wsign-compare``, ``-Wsign-conversion``, + ``-Wtautological-constant-compare`` and ``-Wtautological-constant-out-of-range-compare`` were adjusted to use the underlying datatype of ``enum``. |