================
@@ -2916,6 +2916,20 @@ attribute as undefined behavior. (And, thus the
optimizer may assume that any
pointer used in such a way must not have been null and optimize away the
branches accordingly.) On by default.}]>;
+defm mark_objects_dead_after_destructors
+ : BoolFOption<
+ "mark-objects-dead-after-destructors",
+ CodeGenOpts<"MarkObjectsDeadAfterDestructors">, DefaultTrue,
+ NegFlag<SetFalse, [], [ClangOption, CC1Option],
+ "Do not mark an object dead after its destructor returns">,
+ PosFlag<SetTrue, [], [ClangOption, CC1Option],
+ "Mark an object dead after is destructor returns">,
+ BothFlags<[], [ClangOption, CLOption]>>,
+ DocBrief<
+ [{When enabled, mark an object dead after is destructor returns
which allows the
----------------
antoniofrighetto wrote:
```suggestion
[{When enabled, mark an object dead after its destructor returns,
which allows the
```
https://github.com/llvm/llvm-project/pull/166276
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits