From: Roman Lebedev Date: Fri, 16 Mar 2018 18:01:07 +0000 (+0000) Subject: [docs] ReleaseNotes: document -Wextra-semi changes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1afbf5f655d26b648084b8376d5b1916d664199;p=clang [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327725 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index 4d7a8e0406..11de272d2c 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -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 -------------------------------------------------