[PATCH] D29643: [analyzer] Do not duplicate call graph nodes for function that has definition and forward declaration.

2017-02-07 Thread Ivan Sidorenko via Phabricator via cfe-commits
IvanSidorenko created this revision. Fix in call graph construction: don't build call graph node for callee function twice for functions with forward declarations. Maybe the same fix should be done and for VisitObjCMethodDecl. Unfortunately, I have not enough expertise in ObjC, so I did not

[PATCH] D28905: [analyzer] Consider function call arguments while building CallGraph

2017-01-19 Thread Ivan Sidorenko via Phabricator via cfe-commits
IvanSidorenko created this revision. Function call can appear in the arguments of another function call. This patch adds support for such cases. https://reviews.llvm.org/D28905 Files: lib/Analysis/CallGraph.cpp test/Analysis/debug-CallGraph.c Index: test/Analysis/debug-CallGraph.c