aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKirstóf Umann <dkszelethus@gmail.com>2020-03-01 17:49:44 +0100
committerKirstóf Umann <dkszelethus@gmail.com>2020-05-19 00:18:38 +0200
commit9d69072fb80755a0029a01c74892b4bf03f20f65 (patch)
treeab9fd1cecdb2f9b30860c315f6672b2763c4687d /clang/lib/Frontend/CompilerInvocation.cpp
parentae989391723478c6e8c61b68dd4c575798f340db (diff)
downloadllvm-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