Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCUDA.cpp728 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()
H A DSema.cpp602 FunctionDecl *FD = getCurFunctionDecl(); in diagnoseZeroToNullptrConversion()
1468 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) { in getCurFunctionDecl() function in Sema
1873 FD = FD ? FD : getCurFunctionDecl(); in targetDiag()
1901 DiagID, getCurFunctionDecl(), *this); in Diag()
H A DSemaExprMember.cpp986 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr()
1423 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
H A DSemaStmt.cpp3941 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt()
4104 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt()
4120 assert((getCurFunctionDecl() || getCurMethodDecl()) && in BuildReturnStmt()
4171 getCurFunctionDecl()); in BuildReturnStmt()
H A DSemaAccess.cpp1959 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
H A DSemaOverload.cpp6607 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()
H A DSemaExprCXX.cpp1618 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()
H A DSemaDecl.cpp7790 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()
H A DSemaExpr.cpp165 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction()
7175 if (auto *Caller = getCurFunctionDecl()) { in BuildResolvedCallExpr()
14903 dyn_cast_or_null<CXXMethodDecl>(getCurFunctionDecl(true)); in getSelfAssignmentClassMemberCandidate()
H A DSemaChecking.cpp7249 if (const FunctionDecl *FD = S.getCurFunctionDecl()) in checkVAStartABI()
H A DSemaOpenMP.cpp7280 getCurFunctionDecl(), DSAStack->getConstructTraits()); in ActOnOpenMPCall()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h3553 FunctionDecl *getCurFunctionDecl(bool AllowLambda = false);