<div dir="ltr">Hello,<div><br></div><div>I'm writing a code refactoring tool that needs some static analysis capabilities.</div><div>I've noticed that AST Matchers return const AST nodes, but static analysis sometimes wants to consume non-const pointers.</div><div><br></div><div>For example to build call graph I need to pass non-const pointer:</div><div> CallGraph::addToCallGraph(Decl *D)</div><div><br></div><div>So does static analysis modifies AST? Or it's just a bug in method signature?</div><div><br></div><div>Thanks,</div><div>Roman</div></div>