/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 329 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope() 381 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt() 391 getCurFunction()->SwitchStack.back()->getCond()) { in ActOnCaseStmt() 433 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt() 450 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt() 456 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt() 540 getCurFunction()->setHasBranchProtectedScope(); in BuildIfStmt() 671 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt() 675 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt() 742 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt() [all …]
|
D | SemaCoroutine.cpp | 131 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() 363 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
|
D | SemaOpenMP.cpp | 3891 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelDirective() 5502 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSimdDirective() 5538 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForDirective() 5593 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForSimdDirective() 5630 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionsDirective() 5644 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionDirective() 5660 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSingleDirective() 5690 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPMasterDirective() 5744 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPCriticalDirective() 5792 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelForDirective() [all …]
|
D | SemaStmtAttr.cpp | 40 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
|
D | Sema.cpp | 1169 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope() 1173 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope() 1182 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
|
D | SemaDeclObjC.cpp | 394 getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef() 395 getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef() 398 getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef() 399 getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef() 412 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef() 416 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef() 422 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
|
D | SemaDecl.cpp | 5362 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType() 6893 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclarationType() 9656 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl() 9766 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl() 10183 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl() 10319 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration() 11445 if (getLangOpts().Coroutines && !getCurFunction()->CoroutineStmts.empty()) in ActOnFinishFunctionBody() 11529 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody() 11591 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody() 11593 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody() [all …]
|
D | SemaStmtAsm.cpp | 732 getCurFunction()->setHasBranchProtectedScope(); in ActOnMSAsmStmt()
|
D | SemaPseudoObject.cpp | 847 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()
|
D | SemaExprObjC.cpp | 2184 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage() 3014 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
|
D | SemaCodeComplete.cpp | 1723 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults() 3845 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase() 3848 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
|
D | SemaExpr.cpp | 379 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl() 10043 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands() 10553 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam() 12166 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr() 12195 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 390 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas() 401 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope() 449 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr() 454 getCurFunction()->SwitchStack.back().getPointer()->getCond(); in ActOnCaseExpr() 500 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt() 506 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt() 512 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS); in ActOnCaseStmt() 524 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt() 530 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS); in ActOnDefaultStmt() 800 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt() [all …]
|
D | SemaCoroutine.cpp | 551 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise() 635 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() 732 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart() 930 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr() 1087 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody() 1657 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
|
D | SemaStmtAttr.cpp | 38 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
|
D | SemaDeclObjC.cpp | 464 getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef() 465 getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef() 468 getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef() 469 getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef() 482 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef() 486 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef() 492 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
|
D | Sema.cpp | 1999 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo(IsStmtExpr)); in PushCompoundScope() 2003 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope() 2012 return getCurFunction()->hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
|
D | SemaPseudoObject.cpp | 852 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation() 971 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
|
D | SemaAvailability.cpp | 948 getCurFunction()->HasPotentialAvailabilityViolations = true; in DiagnoseAvailabilityOfDecl()
|
D | SemaExpr.cpp | 333 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl() 2051 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr() 2883 getCurFunction()->recordUseOfWeak(Result); in BuildIvarRefExpr() 6902 getCurFunction()->setHasBranchProtectedScope(); in BuildCompoundLiteralExpr() 12972 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands() 13531 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam() 15378 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr() 15384 if (Body && getCurFunction()->HasPotentialAvailabilityViolations) in ActOnBlockStmtExpr() 15492 if (getCurFunction()) in ActOnBlockStmtExpr() 15493 getCurFunction()->addBlock(BD); in ActOnBlockStmtExpr() [all …]
|
D | SemaExprMember.cpp | 1464 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
|
D | SemaCodeComplete.cpp | 2227 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults() 2228 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults() 5420 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase() 5423 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
|
D | SemaExprObjC.cpp | 2413 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage() 3391 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
|
D | SemaLookup.cpp | 4750 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer() 4751 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
|
D | SemaDecl.cpp | 7601 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow() 7609 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow() 12209 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl() 13025 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration() 14290 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
|