/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CheckerContext.h | 349 const FunctionDecl *getCalleeDecl(const CallExpr *CE) const; 356 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() 365 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CallDescription.cpp | 64 const auto *FD = dyn_cast_or_null<FunctionDecl>(CE.getCalleeDecl()); in matchesAsWritten()
|
H A D | CheckerContext.cpp | 22 const FunctionDecl *CheckerContext::getCalleeDecl(const CallExpr *CE) const { in getCalleeDecl() function in CheckerContext
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransUnbridgedCasts.cpp | 418 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) in isPassedToCFRetain() 431 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) { in isPassedToCParamWithKnownOwnership()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | AnyCall.h | 71 D = CE->getCalleeDecl(); in AnyCall()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 182 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(C.getCalleeDecl()); in getMemberForAccessor()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | RefCntblBaseVirtualDtorChecker.cpp | 67 const Decl *D = CE->getCalleeDecl(); in VisitCallExpr()
|
H A D | PtrTypesSemantics.cpp | 449 auto *Callee = OCE->getCalleeDecl(); in VisitCXXOperatorCallExpr()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountDiagnostics.cpp | 224 FD = dyn_cast<FunctionDecl>(CE->getCalleeDecl()); in generateDiagnosticsForCallLike() 226 if (const auto *MD = dyn_cast<CXXMethodDecl>(CE->getCalleeDecl())) { in generateDiagnosticsForCallLike()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmtAttr.cpp | 261 if (!CanSuppressDiag || !(*std::get<0>(Tup))->getCalleeDecl()) { in CheckStmtInlineAttr() 262 const Decl *Callee = (*std::get<1>(Tup))->getCalleeDecl(); in CheckStmtInlineAttr()
|
H A D | SemaStmt.cpp | 300 if (const Decl *FD = CE->getCalleeDecl()) { in DiagnoseUnusedExprResult() 747 SourceLocation CalleeLoc = CE->getCalleeDecl() in checkMustTailAttr() 748 ? CE->getCalleeDecl()->getBeginLoc() in checkMustTailAttr() 753 dyn_cast_or_null<CXXMethodDecl>(CE->getCalleeDecl())) { in checkMustTailAttr() 795 if (const auto *ND = dyn_cast_or_null<NamedDecl>(CE->getCalleeDecl())) in checkMustTailAttr() 812 const auto *CalleeDecl = CE->getCalleeDecl(); in checkMustTailAttr() 820 if (const auto *ND = dyn_cast_or_null<NamedDecl>(CE->getCalleeDecl())) { in checkMustTailAttr() 881 if (const auto *ND = dyn_cast_or_null<NamedDecl>(CE->getCalleeDecl())) in checkMustTailAttr() 2298 FunctionDecl *D = dyn_cast<FunctionDecl>(CE->getCalleeDecl()); in NoteForRangeBeginEndFunction()
|
H A D | SemaCoroutine.cpp | 352 S.Diag(cast<CallExpr>(JustAddress)->getCalleeDecl()->getLocation(), in maybeTailCall() 445 S.Diag(AwaitSuspend->getCalleeDecl()->getLocation(), in buildCoawaitCalls() 651 checkDeclNoexcept(CE->getCalleeDecl()); in checkNoThrow()
|
H A D | AnalysisBasedWarnings.cpp | 222 if (!CE || !CE->getCalleeDecl() || in hasRecursiveCallInPath() 223 CE->getCalleeDecl()->getCanonicalDecl() != FD) in hasRecursiveCallInPath()
|
H A D | SemaExceptionSpec.cpp | 1156 CT = canCalleeThrow(*this, CE, CE->getCalleeDecl()); in canThrow()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.h | 59 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl() function
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UnixAPIChecker.cpp | 584 const FunctionDecl *FD = C.getCalleeDecl(CE); in checkPreStmt()
|
H A D | MallocChecker.cpp | 783 llvm::dyn_cast_or_null<FunctionDecl>(Call.getCalleeDecl())) in isFreeingCallAsWritten() 1275 const FunctionDecl *FD = C.getCalleeDecl(CE); in checkCXXNewOrCXXDelete() 1416 const FunctionDecl *FD = C.getCalleeDecl(CE); in checkOwnershipAttr()
|
H A D | BasicObjCFoundationChecks.cpp | 437 const FunctionDecl *FD = C.getCalleeDecl(CE); in checkPreStmt()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ExprMutationAnalyzer.cpp | 137 const Decl *CalleeDecl = Node.getCalleeDecl(); in AST_MATCHER()
|
H A D | ReachableCode.cpp | 217 dyn_cast_or_null<FunctionDecl>(cast<CallExpr>(S)->getCalleeDecl()); in isConfigurationValue()
|
H A D | UninitializedValues.cpp | 716 if (Decl *Callee = ce->getCalleeDecl()) { in VisitCallExpr()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprCXX.cpp | 987 cast<FunctionDecl>(getCalleeDecl())->getParamDecl(0)->getType(); in getLiteralOperatorKind() 1009 return cast<FunctionDecl>(getCalleeDecl())->getLiteralIdentifier(); in getUDSuffix()
|
H A D | ASTStructuralEquivalence.cpp | 187 Decl *Callee1 = const_cast<Decl *>(E1->getCalleeDecl()); in IsStmtEquivalent() 188 Decl *Callee2 = const_cast<Decl *>(E2->getCalleeDecl()); in IsStmtEquivalent()
|
H A D | Expr.cpp | 1634 const Decl *D = getCalleeDecl(); in getUnusedResultAttr() 2760 if (const Decl *FD = CE->getCalleeDecl()) { in isUnusedResultAWarning() 3650 const Decl *FD = cast<CallExpr>(this)->getCalleeDecl(); in HasSideEffects() 3892 = dyn_cast_or_null<const CXXMethodDecl>(E->getCalleeDecl())) { in VisitCallExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 2994 Decl *getCalleeDecl() { return getCallee()->getReferencedDeclOfCallee(); } in getCalleeDecl() function 2995 const Decl *getCalleeDecl() const { in getCalleeDecl() function 3001 return dyn_cast_or_null<FunctionDecl>(getCalleeDecl()); in getDirectCallee() 3004 return dyn_cast_or_null<FunctionDecl>(getCalleeDecl()); in getDirectCallee()
|