]> granicus.if.org Git - clang/commit
Make clang::CallGraph look into template instantiations
authorErich Keane <erich.keane@intel.com>
Wed, 12 Dec 2018 17:22:52 +0000 (17:22 +0000)
committerErich Keane <erich.keane@intel.com>
Wed, 12 Dec 2018 17:22:52 +0000 (17:22 +0000)
commitbbecc2dcf078e7f40a97f1c040bb49856c62aeb9
treec8fa59d60ce536d45ce072a701257fa6454e9f29
parentd569b56d4d26d45cee1d65b868318cba15358fc6
Make clang::CallGraph look into template instantiations

Clang's CallGraph analysis doesn't use the RecursiveASTVisitor's setting
togo into template instantiations.  The result is that anything wanting
to do call graph analysis ends up missing any template function calls.

Change-Id: Ib4af44ed59f15d43f37af91622a203146a3c3189

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348942 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/CallGraph.h
test/Analysis/debug-CallGraph.cpp [moved from test/Analysis/debug-CallGraph.c with 79% similarity]