Lines Matching refs:FunctionDecl
186 static bool hasRecursiveCallInPath(const FunctionDecl *FD, CFGBlock &Block) {
217 static bool checkForRecursiveFunctionCall(const FunctionDecl *FD, CFG *cfg) {
253 static void checkRecursiveFunction(Sema &S, const FunctionDecl *FD,
259 if (FD->getTemplatedKind() != FunctionDecl::TK_NonTemplate &&
260 FD->getTemplatedKind() != FunctionDecl::TK_MemberSpecialization)
337 const FunctionDecl *FD) {
356 static void checkThrowInNonThrowingFunc(Sema &S, const FunctionDecl *FD,
369 static bool isNoexcept(const FunctionDecl *FD) {
550 if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(Func))
646 if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
703 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
1287 if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(AC.getDecl()))
1658 const FunctionDecl *CurrentFunction;
1915 void enterFunction(const FunctionDecl* FD) override {
1919 void leaveFunction(const FunctionDecl* FD) override {
2207 if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(D))
2277 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
2284 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))