Abpostelnicu updated this revision to Diff 242562. Abpostelnicu added a comment.
Adding extra comments to the release patch. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74031/new/ https://reviews.llvm.org/D74031 Files: clang/docs/ReleaseNotes.rst Index: clang/docs/ReleaseNotes.rst =================================================================== --- clang/docs/ReleaseNotes.rst +++ clang/docs/ReleaseNotes.rst @@ -183,7 +183,24 @@ 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 ---------------
Index: clang/docs/ReleaseNotes.rst =================================================================== --- clang/docs/ReleaseNotes.rst +++ clang/docs/ReleaseNotes.rst @@ -183,7 +183,24 @@ 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 ---------------
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits