================
@@ -1235,6 +1235,11 @@ class CFG {
bool AddEHEdges = false;
bool AddInitializers = false;
bool AddImplicitDtors = false;
+ // Add dtors for function parameters. In principle, function parameters are
+ // constructed and destructed in the caller context but analyses could
still
+ // choose to include these in the callee's CFG to represent the dtors run
on
+ // function exit.
+ bool AddParameterDtors = false;
----------------
Xazax-hun wrote:
Do we need the dtors? Don't we already have the lifetime end markers for
parameters?
https://github.com/llvm/llvm-project/pull/177363
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits