Home
last modified time | relevance | path

Searched refs:getCurFunctionDecl (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp692 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in CUDARecordImplicitHostDeviceFuncUsedByDevice()
804 FunctionDecl *CurFunContext = getCurFunctionDecl(/*AllowLambda=*/true); in CUDADiagIfDeviceCode()
834 FunctionDecl *CurFunContext = getCurFunctionDecl(/*AllowLambda=*/true); in CUDADiagIfHostCode()
870 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in CheckCUDACall()
941 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in CUDACheckLambdaCapture()
H A DSema.cpp614 FunctionDecl *FD = getCurFunctionDecl(); in diagnoseZeroToNullptrConversion()
1501 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) const { in getCurFunctionDecl() function in Sema
1907 FD = FD ? FD : getCurFunctionDecl(); in targetDiag()
1936 DiagID, getCurFunctionDecl(), *this); in Diag()
H A DSemaExprMember.cpp1019 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr()
1456 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
H A DSemaStmt.cpp3968 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt()
4139 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt()
4155 assert((getCurFunctionDecl() || getCurMethodDecl()) && in BuildReturnStmt()
4206 getCurFunctionDecl()); in BuildReturnStmt()
H A DSemaOverload.cpp6928 const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in AddOverloadCandidate()
7452 if (!IsAllowedCUDACall(getCurFunctionDecl(/*AllowLambda=*/true), Method)) { in AddMethodCandidate()
10263 if (FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true)) { in isBetterOverloadCandidate()
10560 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in isBetterOverloadCandidate()
10688 const FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in BestViableFunction()
11726 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in DiagnoseBadTarget()
12850 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in AddMatchingNonTemplateFunction()
12972 S.EraseUnwantedCUDAMatches(S.getCurFunctionDecl(/*AllowLambda=*/true), in EliminateSuboptimalCudaMatches()
13126 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in resolveAddressOfSingleOverloadCandidate()
H A DSemaAccess.cpp1969 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
H A DSemaExprCXX.cpp1650 const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in isUsualDeallocationFunction()
1745 S.getCurFunctionDecl(/*AllowLambda=*/true), FD); in UsualDeallocFnInfo()
2899 EraseUnwantedCUDAMatches(getCurFunctionDecl(/*AllowLambda=*/true), in FindAllocationFunctions()
H A DSemaDecl.cpp7953 FunctionDecl *CurFD = getCurFunctionDecl(); in ActOnVariableDeclarator()
8070 DeclAttrsMatchCUDAMode(getLangOpts(), getCurFunctionDecl())) in ActOnVariableDeclarator()
8757 FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType()
15435 assert(getCurFunctionDecl() == nullptr && "Function parsing confused"); in ActOnStartOfFunctionDef()
16262 (FD == getCurFunctionDecl() || getCurLambda()->CallOperator == FD) && in ActOnFinishFunctionBody()
H A DSemaChecking.cpp3232 if (const FunctionDecl *FD = getCurFunctionDecl()) { in CheckSMEBuiltinFunctionCall()
3270 if (const FunctionDecl *FD = getCurFunctionDecl()) { in CheckSVEBuiltinFunctionCall()
3297 if (const FunctionDecl *FD = getCurFunctionDecl()) { in CheckNeonBuiltinFunctionCall()
8950 if (const FunctionDecl *FD = S.getCurFunctionDecl()) in checkVAStartABI()
H A DSemaExpr.cpp167 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction()
7473 if (auto *Caller = getCurFunctionDecl()) { in BuildResolvedCallExpr()
15390 dyn_cast_or_null<CXXMethodDecl>(getCurFunctionDecl(true)); in getSelfAssignmentClassMemberCandidate()
H A DSemaOpenMP.cpp7431 getCurFunctionDecl(), DSAStack->getConstructTraits()); in ActOnOpenMPCall()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3621 FunctionDecl *getCurFunctionDecl(bool AllowLambda = false) const;