forked from OSchip/llvm-project
[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:
parent
9050ffd57c
commit
b3fea8741f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue