[llvm-branch-commits] [cfe-branch] r325780 - ReleaseNotes: mention improvements to -Wdelete-non-virtual-dtor and -Wunreachable-code

Hans Wennborg via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 22 05:35:08 PST 2018


Author: hans
Date: Thu Feb 22 05:35:08 2018
New Revision: 325780

URL: http://llvm.org/viewvc/llvm-project?rev=325780&view=rev
Log:
ReleaseNotes: mention improvements to -Wdelete-non-virtual-dtor and -Wunreachable-code

By Nico Weber!

Modified:
    cfe/branches/release_60/docs/ReleaseNotes.rst

Modified: cfe/branches/release_60/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_60/docs/ReleaseNotes.rst?rev=325780&r1=325779&r2=325780&view=diff
==============================================================================
--- cfe/branches/release_60/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_60/docs/ReleaseNotes.rst Thu Feb 22 05:35:08 2018
@@ -95,6 +95,12 @@ Improvements to Clang's diagnostics
 - ``-Wzero-as-null-pointer-constant`` was adjusted not to warn on null pointer
   constants that originate from system macros, except ``NULL`` macro.
 
+- ``-Wdelete-non-virtual-dtor`` can now fire in system headers, so that
+  ``std::unique_ptr<>`` deleting through a non-virtual dtor is now diagnosed.
+
+- ``-Wunreachable-code`` can now reason about ``__try``, ``__except`` and
+  ``__leave``.
+
 Non-comprehensive list of changes in this release
 -------------------------------------------------
 




More information about the llvm-branch-commits mailing list