]> granicus.if.org Git - clang/commit
[analyzer] Add blocks and ObjC messages to the call graph.
authorAnna Zaks <ganna@apple.com>
Fri, 21 Dec 2012 01:19:15 +0000 (01:19 +0000)
committerAnna Zaks <ganna@apple.com>
Fri, 21 Dec 2012 01:19:15 +0000 (01:19 +0000)
commit4f858dfd42c89b67200dac0afc228a0baa323691
treead4d008b16fb3bc5ff7f057897561388d715d154
parentcd0fd18909e3b89ed6f2cc1118809003db64e67a
[analyzer] Add blocks and ObjC messages to the call graph.

This paves the road for constructing a better function dependency graph.
If we analyze a function before the functions it calls and inlines,
there is more opportunity for optimization.

Note, we add call edges to the called methods that correspond to
function definitions (declarations with bodies).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170825 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/CallGraph.h
lib/Analysis/CallGraph.cpp
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp