Home
last modified time | relevance | path

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

/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DSignalHandlerCheck.cpp417 const Expr *CallOrRef = (PathL > 1) in check() local
425 if (checkFunction(CallF, CallOrRef, ChainReporter)) in check()
436 const FunctionDecl *FD, const Expr *CallOrRef, in checkFunction() argument
438 bool FunctionIsCalled = isa<CallExpr>(CallOrRef); in checkFunction()
442 diag(CallOrRef->getBeginLoc(), "standard function %0 may not be " in checkFunction()
446 << FD << FunctionIsCalled << CallOrRef->getSourceRange(); in checkFunction()
455 diag(CallOrRef->getBeginLoc(), "cannot verify that external function %0 is " in checkFunction()
459 << FD << FunctionIsCalled << CallOrRef->getSourceRange(); in checkFunction()
466 return checkFunctionCPP14(FD, CallOrRef, ChainReporter); in checkFunction()
472 const FunctionDecl *FD, const Expr *CallOrRef, in checkFunctionCPP14() argument
[all …]
H A DSignalHandlerCheck.h50 bool checkFunction(const FunctionDecl *FD, const Expr *CallOrRef,
53 bool checkFunctionCPP14(const FunctionDecl *FD, const Expr *CallOrRef,