[clang] [analyzer] Allow recursive functions to be trivial. (PR #91876)
Artem Dergachev via cfe-commits
cfe-commits at lists.llvm.org
Thu May 23 18:36:40 PDT 2024
https://github.com/haoNoQ commented:
> If that is an issue, one way to do this "properly" would be to create a graph
Note that we do have a [`CallGraph`](https://clang.llvm.org/doxygen/classclang_1_1CallGraph.html) class. The static analyzer uses it to identify top-level entry points. It doesn't look like it has a readily available solution for identifying recursive functions. But it may be a good idea to simply use the class and implement it there.
https://github.com/llvm/llvm-project/pull/91876
More information about the cfe-commits
mailing list