[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.

llvm-svn: 158851
This commit is contained in:
Anna Zaks 2012-06-20 20:57:49 +00:00
parent 9050ffd57c
commit b3fea8741f
1 changed files with 2 additions and 0 deletions

View File

@ -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);