diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2019-01-25 01:23:51 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2019-01-25 01:23:51 +0000 |
commit | 7faa1de17da4f28cc0fdc78b15dc6ad790767e07 (patch) | |
tree | 5abe9919a51de753022868111c1b6ff5661dc1b7 /clang/lib/ARCMigrate/CMakeLists.txt | |
parent | 42c9473edeef02b0e31f39dad8621c5f3eb99379 (diff) | |
download | bcm5719-llvm-7faa1de17da4f28cc0fdc78b15dc6ad790767e07.tar.gz bcm5719-llvm-7faa1de17da4f28cc0fdc78b15dc6ad790767e07.zip |
[analysis] Introduce an AnyCall helper class, for abstraction over different callables
A lot of code, particularly in the analyzer, has to perform a lot of
duplication to handle functions/ObjCMessages/destructors/constructors in
a generic setting.
The analyzer already has a CallEvent helper class abstracting over such
calls, but it's not always suitable, since it's tightly coupled to other
analyzer classes (ExplodedNode, ProgramState, etc.) and it's not always
possible to construct.
This change introduces a very simple, very lightweight helper class to
do simple generic operations over callables.
In future, parts of CallEvent could be changed to use this class to
avoid some duplication.
Differential Revision: https://reviews.llvm.org/D57126
llvm-svn: 352148
Diffstat (limited to 'clang/lib/ARCMigrate/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions