Searched refs:getCurFunctionDecl (Results 1 – 12 of 12) sorted by relevance
730 FunctionDecl *CurFunContext = getCurFunctionDecl(/*AllowLambda=*/true); in CUDADiagIfDeviceCode()760 FunctionDecl *CurFunContext = getCurFunctionDecl(/*AllowLambda=*/true); in CUDADiagIfHostCode()796 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in CheckCUDACall()867 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in CUDACheckLambdaCapture()
1440 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) { in getCurFunctionDecl() function in Sema1845 FD = FD ? FD : getCurFunctionDecl(); in targetDiag()1873 DiagID, getCurFunctionDecl(), *this); in Diag()
986 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr()1423 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
3949 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt()4112 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt()4128 assert((getCurFunctionDecl() || getCurMethodDecl()) && in BuildReturnStmt()4179 getCurFunctionDecl()); in BuildReturnStmt()
1956 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
6505 if (const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true)) in AddOverloadCandidate()7015 if (const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true)) in AddMethodCandidate()9736 if (FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true)) { in isBetterOverloadCandidate()10013 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in isBetterOverloadCandidate()10134 const FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in BestViableFunction()11168 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in DiagnoseBadTarget()12234 if (FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true)) in AddMatchingNonTemplateFunction()12351 S.EraseUnwantedCUDAMatches(S.getCurFunctionDecl(/*AllowLambda=*/true), in EliminateSuboptimalCudaMatches()
1603 const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in isUsualDeallocationFunction()1697 if (auto *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true)) in UsualDeallocFnInfo()2836 EraseUnwantedCUDAMatches(getCurFunctionDecl(/*AllowLambda=*/true), in FindAllocationFunctions()
7667 FunctionDecl *CurFD = getCurFunctionDecl(); in ActOnVariableDeclarator()7771 DeclAttrsMatchCUDAMode(getLangOpts(), getCurFunctionDecl())) in ActOnVariableDeclarator()8424 FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType()14509 assert(getCurFunctionDecl() == nullptr && "Function parsing confused"); in ActOnStartOfFunctionDef()15240 (FD == getCurFunctionDecl() || getCurLambda()->CallOperator == FD) && in ActOnFinishFunctionBody()
164 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction()6935 if (auto *Caller = getCurFunctionDecl()) { in BuildResolvedCallExpr()14624 dyn_cast_or_null<CXXMethodDecl>(getCurFunctionDecl(true)); in getSelfAssignmentClassMemberCandidate()
7052 if (const FunctionDecl *FD = S.getCurFunctionDecl()) in checkVAStartABI()
7194 getCurFunctionDecl(), DSAStack->getConstructTraits()); in ActOnOpenMPCall()
3454 FunctionDecl *getCurFunctionDecl(bool AllowLambda = false);