Searched refs:getCurFunctionDecl (Results 1 – 12 of 12) sorted by relevance
728 FunctionDecl *CurFunContext = getCurFunctionDecl(/*AllowLambda=*/true); in CUDADiagIfDeviceCode()758 FunctionDecl *CurFunContext = getCurFunctionDecl(/*AllowLambda=*/true); in CUDADiagIfHostCode()794 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in CheckCUDACall()865 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in CUDACheckLambdaCapture()
602 FunctionDecl *FD = getCurFunctionDecl(); in diagnoseZeroToNullptrConversion()1468 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) { in getCurFunctionDecl() function in Sema1873 FD = FD ? FD : getCurFunctionDecl(); in targetDiag()1901 DiagID, getCurFunctionDecl(), *this); in Diag()
986 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr()1423 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
3941 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt()4104 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt()4120 assert((getCurFunctionDecl() || getCurMethodDecl()) && in BuildReturnStmt()4171 getCurFunctionDecl()); in BuildReturnStmt()
1959 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
6607 if (const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true)) in AddOverloadCandidate()7128 if (const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true)) in AddMethodCandidate()9856 if (FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true)) { in isBetterOverloadCandidate()10139 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in isBetterOverloadCandidate()10267 const FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in BestViableFunction()11315 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in DiagnoseBadTarget()12382 if (FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true)) in AddMatchingNonTemplateFunction()12502 S.EraseUnwantedCUDAMatches(S.getCurFunctionDecl(/*AllowLambda=*/true), in EliminateSuboptimalCudaMatches()
1618 const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in isUsualDeallocationFunction()1712 if (auto *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true)) in UsualDeallocFnInfo()2859 EraseUnwantedCUDAMatches(getCurFunctionDecl(/*AllowLambda=*/true), in FindAllocationFunctions()
7790 FunctionDecl *CurFD = getCurFunctionDecl(); in ActOnVariableDeclarator()7894 DeclAttrsMatchCUDAMode(getLangOpts(), getCurFunctionDecl())) in ActOnVariableDeclarator()8549 FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType()14899 assert(getCurFunctionDecl() == nullptr && "Function parsing confused"); in ActOnStartOfFunctionDef()15673 (FD == getCurFunctionDecl() || getCurLambda()->CallOperator == FD) && in ActOnFinishFunctionBody()
165 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction()7175 if (auto *Caller = getCurFunctionDecl()) { in BuildResolvedCallExpr()14903 dyn_cast_or_null<CXXMethodDecl>(getCurFunctionDecl(true)); in getSelfAssignmentClassMemberCandidate()
7249 if (const FunctionDecl *FD = S.getCurFunctionDecl()) in checkVAStartABI()
7280 getCurFunctionDecl(), DSAStack->getConstructTraits()); in ActOnOpenMPCall()
3553 FunctionDecl *getCurFunctionDecl(bool AllowLambda = false);