diff options
author | Anna Zaks <ganna@apple.com> | 2012-06-20 20:57:49 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-06-20 20:57:49 +0000 |
commit | e2c9238d7b53fdfd99e724ce50de9197a23727fa (patch) | |
tree | 943bea0532d2635860bdb89ac703f55e99b36cd3 | |
parent | 050cdd7107526df8ff7a8e0a08b3e99c83c263c0 (diff) |
[analyzer] Do not walk the types for call graph construction.
Similar to r156661. This should be beneficial performance wise and
hopefully, resolve a RecursiveASTVisitor crash that we are seeing in the
wild, but are incapable of reproducing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158851 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Analysis/CallGraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Analysis/CallGraph.h b/include/clang/Analysis/CallGraph.h index 03510b7185..81afec0827 100644 --- a/include/clang/Analysis/CallGraph.h +++ b/include/clang/Analysis/CallGraph.h @@ -121,6 +121,8 @@ public: return true; } + bool shouldWalkTypesOfTypeLocs() const { return false; } + private: /// \brief Add the given declaration to the call graph. void addNodeForDecl(Decl *D, bool IsGlobal); |