Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
DSema.cpp1325 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl() function in Sema
1739 getCurFunctionDecl(), *this); in targetDiag()
1755 DiagID, getCurFunctionDecl(), *this); in Diag()
DSemaExprMember.cpp985 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr()
1407 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
DSemaStmt.cpp3666 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt()
3811 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt()
3825 assert((getCurFunctionDecl() || getCurMethodDecl()) && in BuildReturnStmt()
3878 getCurFunctionDecl()); in BuildReturnStmt()
DSemaAccess.cpp1922 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
DSemaDecl.cpp7199 FunctionDecl *CurFD = getCurFunctionDecl(); in ActOnVariableDeclarator()
7289 DeclAttrsMatchCUDAMode(getLangOpts(), getCurFunctionDecl())) in ActOnVariableDeclarator()
7932 FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType()
13813 assert(getCurFunctionDecl() == nullptr && "Function parsing confused"); in ActOnStartOfFunctionDef()
14490 assert((FD == getCurFunctionDecl() || getCurLambda()->CallOperator == FD) && in ActOnFinishFunctionBody()
DSemaOpenMP.cpp1904 FunctionDecl *FD = getCurFunctionDecl(); in diagIfOpenMPDeviceCode()
1927 return SemaDiagnosticBuilder(Kind, Loc, DiagID, getCurFunctionDecl(), *this); in diagIfOpenMPDeviceCode()
1934 FunctionEmissionStatus FES = getEmissionStatus(getCurFunctionDecl()); in diagIfOpenMPHostCode()
1950 return SemaDiagnosticBuilder(Kind, Loc, DiagID, getCurFunctionDecl(), *this); in diagIfOpenMPHostCode()
6018 getCurFunctionDecl()); in ActOnOpenMPCall()
DSemaExpr.cpp153 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction()
6548 if (auto *Caller = getCurFunctionDecl()) in BuildResolvedCallExpr()
DSemaChecking.cpp5703 if (const FunctionDecl *FD = S.getCurFunctionDecl()) in checkVAStartABI()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp160 if (!DeclAttrsMatchCUDAMode(getLangOpts(), getCurFunctionDecl())) { in ActOnGCCAsmStmt()
DSemaExprMember.cpp1035 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr()
1439 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
DSemaStmt.cpp3189 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt()
3318 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt()
3382 getCurFunctionDecl()); in BuildReturnStmt()
DSema.cpp940 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl() function in Sema
DSemaAccess.cpp1892 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
DSemaChecking.cpp3143 else if (FunctionDecl *FD = getCurFunctionDecl()) in SemaBuiltinVAStartImpl()
3171 else if (FunctionDecl *FD = getCurFunctionDecl()) in SemaBuiltinVAStartImpl()
3212 if (const FunctionDecl *FD = getCurFunctionDecl()) in SemaBuiltinVAStart()
3234 if (const FunctionDecl *FD = getCurFunctionDecl()) in SemaBuiltinMSVAStart()
3258 else if (FunctionDecl *FD = getCurFunctionDecl()) in SemaBuiltinVAStartARM()
DSemaDecl.cpp6246 FunctionDecl *CurFD = getCurFunctionDecl(); in ActOnVariableDeclarator()
6318 DeclAttrsMatchCUDAMode(getLangOpts(), getCurFunctionDecl())) in ActOnVariableDeclarator()
6865 FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType()
11075 assert(getCurFunctionDecl() == nullptr && "Function parsing confused"); in ActOnStartOfFunctionDef()
11580 assert((FD == getCurFunctionDecl() || getCurLambda()->CallOperator == FD) && in ActOnFinishFunctionBody()
DSemaExpr.cpp260 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction()
/external/clang/include/clang/Sema/
DSema.h2104 FunctionDecl *getCurFunctionDecl();
/external/llvm-project/clang/include/clang/Sema/
DSema.h3077 FunctionDecl *getCurFunctionDecl();