summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAndi-Bogdan Postelnicu <abpostelnicu@me.com>2020-02-05 12:15:55 +0200
committerAndi-Bogdan Postelnicu <abpostelnicu@me.com>2020-02-05 16:03:23 +0200
commitb4efc29f1ccbc03453590bf7aae337853c91c91f (patch)
treefc695a017b1943d97b7a4f616f9281a9b39bb662 /clang
parent8195a96595baca8c0141de2a121dcf3f8c0ea616 (diff)
downloadbcm5719-llvm-b4efc29f1ccbc03453590bf7aae337853c91c91f.tar.gz
bcm5719-llvm-b4efc29f1ccbc03453590bf7aae337853c91c91f.zip
Update for Clang 10 release notes in order to have reference to D66404.
Summary: Since `D66404` adds some significat modifications to the `CFG` we should include it in the release notes. Reviewers: hans Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D74031
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/ReleaseNotes.rst19
1 files changed, 18 insertions, 1 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 753dab9e8bc..c7fe7437558 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -399,7 +399,24 @@ clang-format
libclang
--------
-- ...
+- Various changes to reduce discrepancies in destructor calls between the
+ generated ``CFG`` and the actual ``codegen``.
+
+ In particular:
+
+ - Respect C++17 copy elision; previously it would generate destructor calls
+ for elided temporaries, including in initialization and return statements.
+
+ - Don't generate duplicate destructor calls for statement expressions.
+
+ - Fix initialization lists.
+
+ - Fix comma operator.
+
+ - Change printing of implicit destructors to print the type instead of the
+ class name directly, matching the code for temporary object destructors.
+ The class name was blank for lambdas.
+
Static Analyzer
---------------
OpenPOWER on IntegriCloud