r327725 - [docs] ReleaseNotes: document -Wextra-semi changes.

Roman Lebedev via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 16 11:01:07 PDT 2018


Author: lebedevri
Date: Fri Mar 16 11:01:07 2018
New Revision: 327725

URL: http://llvm.org/viewvc/llvm-project?rev=327725&view=rev
Log:
[docs] ReleaseNotes: document -Wextra-semi changes.

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.

Modified:
    cfe/trunk/docs/ReleaseNotes.rst

Modified: cfe/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=327725&r1=327724&r2=327725&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Fri Mar 16 11:01:07 2018
@@ -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
 -------------------------------------------------




More information about the cfe-commits mailing list