llvm-project
51635635 - [analyzer][NFC] Let GDMContextsTy destroy the GDM contexts (#246899)

Commit
3 days ago
[analyzer][NFC] Let GDMContextsTy destroy the GDM contexts (#246899) ProgramStateManager destroyed its GDM contexts by hand in its destructor. Make GDMContextsTy a small non-copyable class that owns the map and destroys the contexts in its own destructor, so the ownership is expressed by the member rather than by the enclosing destructor. Assisted-by: Claude
Author
Parents
Loading