clang-tools 22.0.0git
|
Finds strongly connected functions (by analyzing call graph for SCC's that are loops), diagnoses each function in the cycle, and displays one example of possible call graph loop (recursion). More...
#include <NoRecursionCheck.h>
Public Member Functions | |
NoRecursionCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds strongly connected functions (by analyzing call graph for SCC's that are loops), diagnoses each function in the cycle, and displays one example of possible call graph loop (recursion).
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/misc/no-recursion.html
Definition at line 26 of file NoRecursionCheck.h.
|
inline |
Definition at line 28 of file NoRecursionCheck.h.
|
override |
Definition at line 253 of file NoRecursionCheck.cpp.
|
override |
Definition at line 195 of file NoRecursionCheck.cpp.