]> granicus.if.org Git - clang/commitdiff
[docs] ReleaseNotes: document -Wextra-semi changes.
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 16 Mar 2018 18:01:07 +0000 (18:01 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 16 Mar 2018 18:01:07 +0000 (18:01 +0000)
I should have done it in rL327558 / D43162, but forgot..

I'm not 100% sure about the text, but i don't think
it warrants a whole new differential revision.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327725 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst

index 4d7a8e040656a61cdc8a8f366959d0eb96f2674d..11de272d2c854a78b6acd79787993ca1d0e4260a 100644 (file)
@@ -51,7 +51,13 @@ Major New Features
 Improvements to Clang's diagnostics
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-- ...
+- ``-Wc++98-compat-extra-semi`` is a new flag, which was previously inseparable
+  from ``-Wc++98-compat-pedantic``. The latter still controls the new flag.
+
+- ``-Wextra-semi`` now also controls ``-Wc++98-compat-extra-semi``.
+  Please do note that if you pass ``-Wno-c++98-compat-pedantic``, it implies
+  ``-Wno-c++98-compat-extra-semi``, so if you want that diagnostic, you need
+  to explicitly re-enable it (e.g. by appending ``-Wextra-semi``).
 
 Non-comprehensive list of changes in this release
 -------------------------------------------------