Skip to content

Commit

Permalink
Update for Clang 10 release notes in order to have reference to D66404.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
abpostelnicu committed Feb 5, 2020
1 parent 8195a96 commit b4efc29
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion clang/docs/ReleaseNotes.rst
Expand Up @@ -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
---------------
Expand Down

0 comments on commit b4efc29

Please sign in to comment.