summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-01-17 23:46:13 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-01-17 23:46:13 +0000
commit13b2026ba46eb2b439cb8074e2f8ccc5473ec51d (patch)
tree2df7455d003dd3868bac74fb075a87313a391971 /clang/lib/Frontend/CompilerInvocation.cpp
parentedae5a6e11308852af43115da0a81533ca7ef3a6 (diff)
downloadbcm5719-llvm-13b2026ba46eb2b439cb8074e2f8ccc5473ec51d.tar.gz
bcm5719-llvm-13b2026ba46eb2b439cb8074e2f8ccc5473ec51d.zip
[analyzer] operator new: Add a new checker callback, check::NewAllocator.
The callback runs after operator new() and before the construction and allows the checker to access the casted return value of operator new() (in the sense of r322780) which is not available in the PostCall callback for the allocator call. Update MallocChecker to use the new callback instead of PostStmt<CXXNewExpr>, which gets called after the constructor. Differential Revision: https://reviews.llvm.org/D41406 rdar://problem/12180598 llvm-svn: 322787
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud