[llvm-branch-commits] [clang] b4efc29 - Update for Clang 10 release notes in order to have reference to D66404.

Andi-Bogdan Postelnicu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Feb 5 06:04:43 PST 2020


Author: Andi-Bogdan Postelnicu
Date: 2020-02-05T16:03:23+02:00
New Revision: b4efc29f1ccbc03453590bf7aae337853c91c91f

URL: https://github.com/llvm/llvm-project/commit/b4efc29f1ccbc03453590bf7aae337853c91c91f
DIFF: https://github.com/llvm/llvm-project/commit/b4efc29f1ccbc03453590bf7aae337853c91c91f.diff

LOG: 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

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 753dab9e8bc3..c7fe7437558a 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
 ---------------


        


More information about the llvm-branch-commits mailing list