Home
last modified time | relevance | path

Searched refs:SwitchStack (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DScopeInfo.cpp51 SwitchStack.clear(); in Clear()
H A DSemaStmt.cpp467 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()
472 getCurFunction()->SwitchStack.back().getPointer()->getCond(); in ActOnCaseExpr()
518 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
524 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()
530 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS); in ActOnCaseStmt()
542 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
548 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS); in ActOnDefaultStmt()
1117 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt()
1217 bool CaseListIsIncomplete = getCurFunction()->SwitchStack.back().getInt(); in ActOnFinishSwitchStmt()
1218 assert(SS == getCurFunction()->SwitchStack.back().getPointer() && in ActOnFinishSwitchStmt()
[all …]
H A DSemaStmtAttr.cpp39 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
H A DSemaCodeComplete.cpp2292 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
5898 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
5901 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
H A DSemaLookup.cpp5134 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DScopeInfo.h200 SmallVector<SwitchInfo, 8> SwitchStack; variable