Searched refs:getCurFunction (Results 1 – 14 of 14) sorted by relevance
317 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()369 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()379 getCurFunction()->SwitchStack.back()->getCond()) { in ActOnCaseStmt()421 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()438 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()444 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()487 getCurFunction()->setHasDroppedStmt(); in ActOnIfStmt()658 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()661 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()717 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()[all …]
1864 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelDirective()2961 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSimdDirective()2981 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForDirective()3001 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForSimdDirective()3034 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionsDirective()3045 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionDirective()3056 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSingleDirective()3066 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPMasterDirective()3077 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPCriticalDirective()3107 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelForDirective()[all …]
38 if (S.getCurFunction()->SwitchStack.empty()) { in handleFallThroughAttr()
1137 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()1141 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()1150 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
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()
605 getCurFunction()->setHasBranchProtectedScope(); in ActOnMSAsmStmt()
4919 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()6147 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclarationType()8780 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()8887 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl()9284 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()9408 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()10513 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()10527 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()10529 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()10532 getCurFunction()->ObjCShouldCallSuper = false; in ActOnFinishFunctionBody()[all …]
834 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()
1984 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()2795 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
1709 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()3717 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()3720 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
6848 if (getCurFunction() && !getCurFunction()->ModifiedNonNullParams.count(PV)) in DiagnoseAlwaysNonNullPointer()8184 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
8825 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()9254 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()10835 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()10864 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
4001 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
1081 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function1100 getCurFunction()->recordUseOfWeak(E, IsRead);