Searched refs:getCurFunctionDecl (Results 1 – 12 of 12) sorted by relevance
692 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()
614 FunctionDecl *FD = getCurFunctionDecl(); in diagnoseZeroToNullptrConversion()1501 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) const { in getCurFunctionDecl() function in Sema1907 FD = FD ? FD : getCurFunctionDecl(); in targetDiag()1936 DiagID, getCurFunctionDecl(), *this); in Diag()
1019 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr()1456 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
3968 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt()4139 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt()4155 assert((getCurFunctionDecl() || getCurMethodDecl()) && in BuildReturnStmt()4206 getCurFunctionDecl()); in BuildReturnStmt()
6928 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()
1969 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
1650 const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in isUsualDeallocationFunction()1745 S.getCurFunctionDecl(/*AllowLambda=*/true), FD); in UsualDeallocFnInfo()2899 EraseUnwantedCUDAMatches(getCurFunctionDecl(/*AllowLambda=*/true), in FindAllocationFunctions()
7953 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()
3232 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()
167 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction()7473 if (auto *Caller = getCurFunctionDecl()) { in BuildResolvedCallExpr()15390 dyn_cast_or_null<CXXMethodDecl>(getCurFunctionDecl(true)); in getSelfAssignmentClassMemberCandidate()
7431 getCurFunctionDecl(), DSAStack->getConstructTraits()); in ActOnOpenMPCall()
3621 FunctionDecl *getCurFunctionDecl(bool AllowLambda = false) const;