llvm-project
6bd88207 - [CIR] Add support for delete cleanup after new operators (#184707)

Commit
9 days ago
[CIR] Add support for delete cleanup after new operators (#184707) This adds support for calling operator delete when an exception is thrown during initialization following an operator new call. This does not yet handle the case where a temporary object is materialized during the object initialization. That case is marked by the "setupCleanupBlockActivation" diagnostic in deactivateCleanupBlock and will be implemented in a future change.
Author
Parents
Loading