diff options
author | Kirstóf Umann <dkszelethus@gmail.com> | 2020-03-01 17:49:44 +0100 |
---|---|---|
committer | Kirstóf Umann <dkszelethus@gmail.com> | 2020-05-19 00:18:38 +0200 |
commit | 9d69072fb80755a0029a01c74892b4bf03f20f65 (patch) | |
tree | ab9fd1cecdb2f9b30860c315f6672b2763c4687d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ae989391723478c6e8c61b68dd4c575798f340db (diff) | |
download | llvm-9d69072fb80755a0029a01c74892b4bf03f20f65.zip llvm-9d69072fb80755a0029a01c74892b4bf03f20f65.tar.gz llvm-9d69072fb80755a0029a01c74892b4bf03f20f65.tar.bz2 |
[analyzer][NFC] Introduce CXXDeallocatorCall, deploy it in MallocChecker
One of the pain points in simplifying MallocCheckers interface by gradually
changing to CallEvent is that a variety of C++ allocation and deallocation
functionalities are modeled through preStmt<...> where CallEvent is unavailable,
and a single one of these callbacks can prevent a mass parameter change.
This patch introduces a new CallEvent, CXXDeallocatorCall, which happens after
preStmt<CXXDeleteExpr>, and can completely replace that callback as
demonstrated.
Differential Revision: https://reviews.llvm.org/D75430
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions