summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-02-22 13:35:08 +0000
committerHans Wennborg <hans@hanshq.net>2018-02-22 13:35:08 +0000
commit7195eb37bd49f527f4eb6fa2a396cb8ffb5d3657 (patch)
tree91322d5d42a26782500d2513b63ca38c6f23de4f
parenta0152d8269896483086fc02b1f3b12c25afb8085 (diff)
ReleaseNotes: mention improvements to -Wdelete-non-virtual-dtor and -Wunreachable-code
By Nico Weber! git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_60@325780 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/ReleaseNotes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index be33f15cb2..a87004176b 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -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
-------------------------------------------------