llvm-project/clang/lib
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
..
ARCMigrate Avoid SourceManager.h include in RawCommentList.h, add missing incs 2020-02-27 13:49:40 -08:00
AST [OPENMP50]Initial support for scan directive. 2020-03-20 07:58:15 -04:00
ASTMatchers [clang] Prune 'IsOMPStructuredBlock' Stmt bit 2020-03-12 14:48:57 +03:00
Analysis [[Clang CallGraph]] CallGraph should still record calls to decls. 2020-03-20 08:55:23 -07:00
Basic [OPENMP50]Initial support for scan directive. 2020-03-20 07:58:15 -04:00
CodeGen [OPENMP50]Initial support for scan directive. 2020-03-20 07:58:15 -04:00
CrossTU [clang] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:27:46 -08:00
DirectoryWatcher Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
Driver [RISCV] Passing small data limitation value to RISCV backend 2020-03-20 11:03:51 +08:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Handle C# generic type constraints 2020-03-19 12:56:08 +00:00
Frontend [RISCV] Passing small data limitation value to RISCV backend 2020-03-20 11:03:51 +08:00
FrontendTool Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Headers [Clang][SVE] Parse builtin type string for scalable vectors 2020-03-15 14:34:52 +00:00
Index Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
Lex [Clang][Driver] In -fintegrated-cc1 mode, avoid crashing on exit after a compiler crash 2020-03-13 08:15:35 -04:00
Parse [OPENMP50]Initial support for scan directive. 2020-03-20 07:58:15 -04:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Fix `-Wunused-variable` warning. NFC. 2020-03-20 09:31:58 -04:00
Serialization [OPENMP50]Initial support for scan directive. 2020-03-20 07:58:15 -04:00
StaticAnalyzer [analyzer] StdLibraryFunctionsChecker: Add argument constraints 2020-03-20 16:33:14 +01:00
Tooling [Syntax] Build template declaration nodes 2020-03-19 17:43:07 +01:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00