Searched refs:getCurFunctionDecl (Results 1 – 18 of 18) sorted by relevance
/external/llvm-project/clang/lib/Sema/ |
D | Sema.cpp | 1325 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl() function in Sema 1739 getCurFunctionDecl(), *this); in targetDiag() 1755 DiagID, getCurFunctionDecl(), *this); in Diag()
|
D | SemaExprMember.cpp | 985 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr() 1407 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
|
D | SemaStmt.cpp | 3666 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt() 3811 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt() 3825 assert((getCurFunctionDecl() || getCurMethodDecl()) && in BuildReturnStmt() 3878 getCurFunctionDecl()); in BuildReturnStmt()
|
D | SemaAccess.cpp | 1922 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
|
D | SemaDecl.cpp | 7199 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()
|
D | SemaOpenMP.cpp | 1904 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()
|
D | SemaExpr.cpp | 153 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction() 6548 if (auto *Caller = getCurFunctionDecl()) in BuildResolvedCallExpr()
|
D | SemaChecking.cpp | 5703 if (const FunctionDecl *FD = S.getCurFunctionDecl()) in checkVAStartABI()
|
/external/clang/lib/Sema/ |
D | SemaStmtAsm.cpp | 160 if (!DeclAttrsMatchCUDAMode(getLangOpts(), getCurFunctionDecl())) { in ActOnGCCAsmStmt()
|
D | SemaExprMember.cpp | 1035 const auto *FD = getCurFunctionDecl(); in BuildMemberReferenceExpr() 1439 else if (ObjCImpDecl && S.getCurFunctionDecl()) { in LookupMemberExpr()
|
D | SemaStmt.cpp | 3189 if (const FunctionDecl *FD = getCurFunctionDecl()) { in BuildReturnStmt() 3318 FunctionDecl *FD = getCurFunctionDecl(); in BuildReturnStmt() 3382 getCurFunctionDecl()); in BuildReturnStmt()
|
D | Sema.cpp | 940 FunctionDecl *Sema::getCurFunctionDecl() { in getCurFunctionDecl() function in Sema
|
D | SemaAccess.cpp | 1892 else if (FunctionDecl *FD = getCurFunctionDecl()) { in IsSimplyAccessible()
|
D | SemaChecking.cpp | 3143 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()
|
D | SemaDecl.cpp | 6246 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()
|
D | SemaExpr.cpp | 260 FunctionDecl *Current = S.getCurFunctionDecl(); in diagnoseUseOfInternalDeclInInlineFunction()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2104 FunctionDecl *getCurFunctionDecl();
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 3077 FunctionDecl *getCurFunctionDecl();
|