Lines Matching refs:FunctionDecl
26 static bool isSystemCall(const FunctionDecl *FD) { in isSystemCall()
57 AST_MATCHER(FunctionDecl, isSystemCall) { return isSystemCall(&Node); } in AST_MATCHER() argument
94 Result.Nodes.getNodeAs<FunctionDecl>("handler_decl"); in check()
98 llvm::DenseSet<const FunctionDecl *> SeenFunctions; in check()
103 auto ProcessFunction = [&](const FunctionDecl *F, const Expr *CallOrRef) { in check()
123 const FunctionDecl *FBody; in check()
134 if (isa<FunctionDecl>(CE->getCalleeDecl())) in check()
150 const auto *F = cast<FunctionDecl>(FunctionCall->getCalleeDecl()); in check()
157 bool SignalHandlerCheck::isSystemCallAllowed(const FunctionDecl *FD) const { in isSystemCallAllowed()
170 void SignalHandlerCheck::reportBug(const FunctionDecl *CalledFunction, in reportBug()
173 const FunctionDecl *HandlerDecl) { in reportBug()