aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-06-21 20:36:11 +0000
committerAnna Zaks <ganna@apple.com>2012-06-21 20:36:11 +0000
commit24388333364be0ce9d04a07fa9895baeeff78bda (patch)
treecb5e15d849a5b8b9da41b120bc313e244f95c815 /lib/StaticAnalyzer/Checkers/MallocChecker.cpp
parent28a5f0cdfcc927a94c1bda6a225200762df22411 (diff)
[analyzer] Do not step into statements while collecting function decls.
CallGraph's recursive visitor only needs to collect declarations; their bodies will be processed later on. RecursiveASTVisitor will recurse on the bodies if the definition is provided along with declaration. Optimize, by not recursing on any of the statements. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
0 files changed, 0 insertions, 0 deletions