llvm-project/clang/lib/Analysis
Erich Keane ffcc076a2b [[Clang CallGraph]] CallGraph should still record calls to decls.
Discovered by a downstream user, we found that the CallGraph ignores
callees unless they are defined.  This seems foolish, and prevents
combining the report with other reports to create unified reports.
Additionally, declarations contain information that is likely useful to
consumers of the CallGraph.

This patch implements this by splitting the includeInGraph function into
two versions, the current one plus one that is for callees only.  The
only difference currently is that includeInGraph checks for a body, then
calls includeCalleeInGraph.

Differential Revision: https://reviews.llvm.org/D76435
2020-03-20 08:55:23 -07:00
..
plugins Don't install example analyzer plugins 2019-09-28 13:28:50 +00:00
AnalysisDeclContext.cpp [analyzer] AnalysisDeclContext: Refactor and documentation 2020-03-04 07:06:54 +01:00
BodyFarm.cpp [analyzer] Fix more ObjC accessor body farms after 2073dd2d. 2019-12-04 16:29:08 -08:00
CFG.cpp Fix SFINAE in CFG.cpp. 2020-02-11 10:37:08 -08:00
CFGReachabilityAnalysis.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CFGStmtMap.cpp [CFG] NFC: Remove implicit conversion from CFGTerminator to Stmt *. 2019-05-24 01:34:22 +00:00
CMakeLists.txt [analyzer] NFC: Move PathDiagnostic classes to libAnalysis. 2019-09-11 20:54:27 +00:00
CallGraph.cpp [[Clang CallGraph]] CallGraph should still record calls to decls. 2020-03-20 08:55:23 -07:00
CloneDetection.cpp Avoid SourceManager.h include in RawCommentList.h, add missing incs 2020-02-27 13:49:40 -08:00
CocoaConventions.cpp [analyzer] Fix more analyzer warnings on analyzer and libAnalysis. 2019-08-28 21:19:58 +00:00
CodeInjector.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ConstructionContext.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Consumed.cpp [NFC] Refactor representation of materialized temporaries 2019-11-19 18:20:45 +01:00
Dominators.cpp Make a buildbot using a buggy gcc happy 2019-07-03 12:06:10 +00:00
ExprMutationAnalyzer.cpp [ASTMatchers] Add cxxNoexceptExpr AST matcher 2020-01-28 13:12:28 +00:00
LiveVariables.cpp [DataFlow] Factor two worklist implementations out 2020-01-17 08:11:15 -08:00
ObjCNoReturn.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PathDiagnostic.cpp [analyzer] PR43102: Fix an assertion and an out-of-bounds error for diagnostic location construction 2019-09-18 22:24:26 +00:00
PostOrderCFGView.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ProgramPoint.cpp [analyzer] Display cast kinds in program point dumps. 2019-10-17 23:10:05 +00:00
ReachableCode.cpp Avoid including Builtins.h in Preprocessor.h 2019-11-15 16:45:16 -08:00
RetainSummaryManager.cpp [analyzer] Add support for CXXInheritedCtorInitExpr. 2020-02-25 18:37:23 +03:00
ThreadSafety.cpp Use std::foo_t rather than std::foo in clang. 2020-02-11 10:37:08 -08:00
ThreadSafetyCommon.cpp [NFC] Refactor representation of materialized temporaries 2019-11-19 18:20:45 +01:00
ThreadSafetyLogical.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThreadSafetyTIL.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UninitializedValues.cpp Warn of uninitialized variables on asm goto's indirect branch 2020-03-10 13:48:48 -07:00