[clang] Run analysis in post-order of the call-graph #172862 (PR #174178)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 2 02:00:03 PST 2026
================
@@ -2915,6 +2918,43 @@ class LifetimeSafetyReporterImpl : public LifetimeSafetyReporter {
} // namespace
} // namespace clang::lifetimes
+class CallGraphBuilder : public clang::RecursiveASTVisitor<CallGraphBuilder> {
----------------
Xazax-hun wrote:
Is there any reason we couldn't use `CallGraph::addToCallGraph`? My understanding is that it should visit the bodies and collect the call expressions.
https://github.com/llvm/llvm-project/pull/174178
More information about the cfe-commits
mailing list