Home
last modified time | relevance | path

Searched refs:getCalleeDecl (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h349 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 DCallDescription.cpp64 const auto *FD = dyn_cast_or_null<FunctionDecl>(CE.getCalleeDecl()); in matchesAsWritten()
H A DCheckerContext.cpp22 const FunctionDecl *CheckerContext::getCalleeDecl(const CallExpr *CE) const { in getCalleeDecl() function in CheckerContext
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp418 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 DAnyCall.h71 D = CE->getCalleeDecl(); in AnyCall()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp182 const auto *MethodDecl = dyn_cast_or_null<CXXMethodDecl>(C.getCalleeDecl()); in getMemberForAccessor()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp67 const Decl *D = CE->getCalleeDecl(); in VisitCallExpr()
H A DPtrTypesSemantics.cpp449 auto *Callee = OCE->getCalleeDecl(); in VisitCXXOperatorCallExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp224 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 DSemaStmtAttr.cpp261 if (!CanSuppressDiag || !(*std::get<0>(Tup))->getCalleeDecl()) { in CheckStmtInlineAttr()
262 const Decl *Callee = (*std::get<1>(Tup))->getCalleeDecl(); in CheckStmtInlineAttr()
H A DSemaStmt.cpp300 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 DSemaCoroutine.cpp352 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 DAnalysisBasedWarnings.cpp222 if (!CE || !CE->getCalleeDecl() || in hasRecursiveCallInPath()
223 CE->getCalleeDecl()->getCanonicalDecl() != FD) in hasRecursiveCallInPath()
H A DSemaExceptionSpec.cpp1156 CT = canCalleeThrow(*this, CE, CE->getCalleeDecl()); in canThrow()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.h59 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp584 const FunctionDecl *FD = C.getCalleeDecl(CE); in checkPreStmt()
H A DMallocChecker.cpp783 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 DBasicObjCFoundationChecks.cpp437 const FunctionDecl *FD = C.getCalleeDecl(CE); in checkPreStmt()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp137 const Decl *CalleeDecl = Node.getCalleeDecl(); in AST_MATCHER()
H A DReachableCode.cpp217 dyn_cast_or_null<FunctionDecl>(cast<CallExpr>(S)->getCalleeDecl()); in isConfigurationValue()
H A DUninitializedValues.cpp716 if (Decl *Callee = ce->getCalleeDecl()) { in VisitCallExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp987 cast<FunctionDecl>(getCalleeDecl())->getParamDecl(0)->getType(); in getLiteralOperatorKind()
1009 return cast<FunctionDecl>(getCalleeDecl())->getLiteralIdentifier(); in getUDSuffix()
H A DASTStructuralEquivalence.cpp187 Decl *Callee1 = const_cast<Decl *>(E1->getCalleeDecl()); in IsStmtEquivalent()
188 Decl *Callee2 = const_cast<Decl *>(E2->getCalleeDecl()); in IsStmtEquivalent()
H A DExpr.cpp1634 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 DExpr.h2994 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()

12