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)
commitf313ed5b7bc247374764589ae2025012d5c43dd5
treedd2bec6b968010e7b66bf13e2a2e29ff57b7b374
parent6753d2d1803b89cfe1f86631a79c4c435c04af8d
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
llvm-svn: 348942
clang/include/clang/Analysis/CallGraph.h
clang/test/Analysis/debug-CallGraph.cpp [moved from clang/test/Analysis/debug-CallGraph.c with 79% similarity]