Searched refs:getCurFunctionDecl (Results 1 – 18 of 18) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 729 FunctionDecl *Caller = SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in RecordImplicitHostDeviceFuncUsedByDevice() 844 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in DiagIfDeviceCode() 876 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in DiagIfHostCode() 913 FunctionDecl *Caller = SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in CheckCall() 988 FunctionDecl *Caller = SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in CheckLambdaCapture()
|
| H A D | SemaBase.cpp | 75 DiagID, SemaRef.getCurFunctionDecl(), SemaRef); in Diag()
|
| H A D | SemaARM.cpp | 645 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true)) { in CheckSMEBuiltinFunctionCall() 686 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true)) { in CheckSVEBuiltinFunctionCall() 716 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true)) { in CheckNeonBuiltinFunctionCall() 1434 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true)) { in areCompatibleSveTypes() 1479 SemaRef.getCurFunctionDecl(/*AllowLambda=*/true)) { in areLaxCompatibleSveTypes()
|
| H A D | SemaAMDGPU.cpp | 30 const auto *FD = SemaRef.getCurFunctionDecl(/*AllowLambda=*/true); in CheckAMDGCNBuiltinFunctionCall()
|
| H A D | SemaRISCV.cpp | 558 const FunctionDecl *FD = SemaRef.getCurFunctionDecl(); in CheckBuiltinFunctionCall() 640 const FunctionDecl *FD = SemaRef.getCurFunctionDecl(); in CheckBuiltinFunctionCall()
|
| H A D | SemaStmt.cpp | 3923 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt() 4094 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt() 4110 assert((getCurFunctionDecl() || getCurMethodDecl()) && in BuildReturnStmt() 4161 getCurFunctionDecl()); in BuildReturnStmt() 4603 if (const FunctionDecl *FD = S.getCurFunctionDecl(/*AllowLambda=*/true)) { in isOpenMPCapturedRegionInArmSMEFunction()
|
| H A D | Sema.cpp | 735 FunctionDecl *FD = getCurFunctionDecl(); in diagnoseZeroToNullptrConversion() 1646 FunctionDecl *Sema::getCurFunctionDecl(bool AllowLambda) const { in getCurFunctionDecl() function in Sema 2096 FD = FD ? FD : getCurFunctionDecl(); in targetDiag()
|
| H A D | SemaExprMember.cpp | 912 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr() 1405 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
|
| H A D | SemaAccess.cpp | 1957 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
|
| H A D | SemaOverload.cpp | 7234 const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in AddOverloadCandidate() 7795 if (!CUDA().IsAllowedCall(getCurFunctionDecl(/*AllowLambda=*/true), in AddMethodCandidate() 10766 if (FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true)) { in isBetterOverloadCandidate() 11059 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in isBetterOverloadCandidate() 11313 const FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in CudaExcludeWrongSideCandidates() 12475 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in DiagnoseBadTarget() 13667 FunctionDecl *Caller = S.getCurFunctionDecl(/*AllowLambda=*/true); in AddMatchingNonTemplateFunction() 13816 S.CUDA().EraseUnwantedMatches(S.getCurFunctionDecl(/*AllowLambda=*/true), in EliminateSuboptimalCudaMatches() 13948 FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in resolveAddressOfSingleOverloadCandidate()
|
| H A D | SemaCoroutine.cpp | 894 getCurFunctionDecl(/*AllowLambda=*/true)->getReturnType()); in BuildUnresolvedCoawaitExpr()
|
| H A D | SemaExprCXX.cpp | 1680 const FunctionDecl *Caller = getCurFunctionDecl(/*AllowLambda=*/true); in isUsualDeallocationFunction() 1818 S.getCurFunctionDecl(/*AllowLambda=*/true), FD); 3197 CUDA().EraseUnwantedMatches(getCurFunctionDecl(/*AllowLambda=*/true), in FindAllocationFunctions()
|
| H A D | SemaDecl.cpp | 7961 FunctionDecl *CurFD = getCurFunctionDecl(); in ActOnVariableDeclarator() 8083 DeclAttrsMatchCUDAMode(getLangOpts(), getCurFunctionDecl())) in ActOnVariableDeclarator() 8799 FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType() 8872 if (FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType() 15637 assert(getCurFunctionDecl() == nullptr && "Function parsing confused"); in ActOnStartOfFunctionDef() 16536 assert((FD == getCurFunctionDecl(/*AllowLambdas=*/true)) && in ActOnFinishFunctionBody()
|
| H A D | SemaExpr.cpp | 172 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction() 6853 if (auto *Caller = getCurFunctionDecl()) { in BuildResolvedCallExpr() 14785 dyn_cast_or_null<CXXMethodDecl>(getCurFunctionDecl(true)); in getSelfAssignmentClassMemberCandidate()
|
| H A D | SemaChecking.cpp | 5028 if (const FunctionDecl *FD = S.getCurFunctionDecl()) in checkVAStartABI()
|
| H A D | SemaOpenMP.cpp | 7166 SemaRef.getCurFunctionDecl(), in ActOnOpenMPCall()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 1143 FunctionDecl *getCurFunctionDecl(bool AllowLambda = false) const;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 4640 {"_ZN5clang4Sema18getCurFunctionDeclEv", "clang::Sema::getCurFunctionDecl()"},
|