llvm-project/clang/lib/Analysis
Anna Zaks 87d404d458 [CallGraph] Make sure the edges are not missed due to re-declarations
A patch by Daniel DeFreez!

We were previously dropping edges on re-declarations. Store the
canonical declarations in the graph to ensure that different
references to the same function end up reflected with the same call graph
node.

(Note, this might lead to performance fluctuation because call graph
is used to determine the function analysis order.)

llvm-svn: 224398
2014-12-17 00:34:07 +00:00
..
AnalysisDeclContext.cpp Update for LLVM API change to make Small(Ptr)Set::insert return pair<iterator, bool> as per the C++ standard's associative container concept. 2014-11-19 07:49:47 +00:00
BodyFarm.cpp Renamed RefersToEnclosingLocal bitfield to RefersToCapturedVariable. 2014-12-16 08:01:48 +00:00
BodyFarm.h Add support for the static analyzer to synthesize function implementations from external model files. 2014-08-27 15:14:15 +00:00
CFG.cpp unique_ptrify the result of CFG::buildCFG/CFGBuilder::buildCFG 2014-08-29 18:53:26 +00:00
CFGReachabilityAnalysis.cpp Rework CFG edges to encode potentially unreachable edges, instead of just making them NULL. 2014-02-27 00:24:00 +00:00
CFGStmtMap.cpp [C++11] Use 'nullptr'. Analysis edition. 2014-05-20 04:30:07 +00:00
CMakeLists.txt Reverting r214064 and r215650 while investigating a pesky performance regression 2014-09-23 08:34:41 +00:00
CallGraph.cpp [CallGraph] Make sure the edges are not missed due to re-declarations 2014-12-17 00:34:07 +00:00
CocoaConventions.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
CodeInjector.cpp [Analysis] Add missing newlines at end of file. 2014-10-09 20:34:45 +00:00
Consumed.cpp Reverting r214064 and r215650 while investigating a pesky performance regression 2014-09-23 08:34:41 +00:00
Dominators.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
FormatString.cpp MS format strings: parse the 'Z' printf conversion specifier (PR20808) 2014-09-07 03:03:51 +00:00
FormatStringParsing.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
LiveVariables.cpp Remove unused member variable. 2014-10-21 04:19:18 +00:00
Makefile
ObjCNoReturn.cpp clang/lib/Analysis/ObjCNoReturn.cpp: Fix [-Wnewline-eof] 2012-09-13 05:53:17 +00:00
PostOrderCFGView.cpp Reverting r214064 and r215650 while investigating a pesky performance regression 2014-09-23 08:34:41 +00:00
PrintfFormatString.cpp Objective-C. Under a special flag, -Wcstring-format-directive, 2014-09-09 23:10:54 +00:00
ProgramPoint.cpp [analyzer] Improved checker naming in CFG dump. 2014-02-17 18:25:34 +00:00
PseudoConstantAnalysis.cpp [C++11] Use 'nullptr'. Analysis edition. 2014-05-20 04:30:07 +00:00
ReachableCode.cpp Make dead return statement detection more robust against changes in the CFG. 2014-05-23 17:09:56 +00:00
ScanfFormatString.cpp MS format strings: allow the 'h' length modifier with C, C, s and S (PR20808) 2014-09-04 21:39:52 +00:00
ThreadSafety.cpp Thread Safety Analysis: move warnings on range-based for loops out of beta 2014-11-05 23:09:28 +00:00
ThreadSafetyCommon.cpp Thread Safety Analysis: major update to thread safety TIL. 2014-09-10 22:12:52 +00:00
ThreadSafetyLogical.cpp Fix line endings. 2014-05-28 11:19:43 +00:00
ThreadSafetyTIL.cpp Fixing a -Woverflow warning from GCC by using a more natural datatype for this operation. NFC. 2014-09-12 12:42:15 +00:00
UninitializedValues.cpp When checking for uninitialized values, do not confuse "std::move" with every 2014-11-27 01:29:32 +00:00