Home
last modified time | relevance | path

Searched refs:getCurFunction (Results 1 – 14 of 14) sorted by relevance

/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp317 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 …]
H A DSemaOpenMP.cpp1864 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 …]
H A DSemaStmtAttr.cpp38 if (S.getCurFunction()->SwitchStack.empty()) { in handleFallThroughAttr()
H A DSema.cpp1137 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()
1141 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
1150 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
H A DSemaDeclObjC.cpp394 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()
H A DSemaStmtAsm.cpp605 getCurFunction()->setHasBranchProtectedScope(); in ActOnMSAsmStmt()
H A DSemaDecl.cpp4919 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 …]
H A DSemaPseudoObject.cpp834 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()
H A DSemaExprObjC.cpp1984 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()
2795 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
H A DSemaCodeComplete.cpp1709 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
3717 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
3720 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
H A DSemaChecking.cpp6848 if (getCurFunction() && !getCurFunction()->ModifiedNonNullParams.count(PV)) in DiagnoseAlwaysNonNullPointer()
8184 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
H A DSemaExpr.cpp8825 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()
H A DSemaLookup.cpp4001 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DSema.h1081 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function
1100 getCurFunction()->recordUseOfWeak(E, IsRead);