Home
last modified time | relevance | path

Searched refs:CyclicCallStack (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNoRecursionCheck.cpp221 const auto CyclicCallStack = in handleSCC() local
227 assert(CyclicCallStack.size() >= 2 && "Cycle requires at least 2 frames"); in handleSCC()
230 FunctionDecl *CycleEntryFn = CyclicCallStack.front().Callee->getDefinition(); in handleSCC()
237 for (int CurFrame = 1, NumFrames = CyclicCallStack.size(); in handleSCC()
239 CallGraphNode::CallRecord PrevNode = CyclicCallStack[CurFrame - 1]; in handleSCC()
240 CallGraphNode::CallRecord CurrNode = CyclicCallStack[CurFrame]; in handleSCC()
250 diag(CyclicCallStack.back().CallExpr->getBeginLoc(), in handleSCC()