Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DScopeInfo.cpp51 SwitchStack.clear(); in Clear()
H A DSemaStmt.cpp450 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()
455 getCurFunction()->SwitchStack.back().getPointer()->getCond(); in ActOnCaseExpr()
501 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
507 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()
513 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS); in ActOnCaseStmt()
525 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
531 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS); in ActOnDefaultStmt()
1080 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt()
1180 bool CaseListIsIncomplete = getCurFunction()->SwitchStack.back().getInt(); in ActOnFinishSwitchStmt()
1181 assert(SS == getCurFunction()->SwitchStack.back().getPointer() && in ActOnFinishSwitchStmt()
[all …]
H A DSemaStmtAttr.cpp38 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
H A DSemaCodeComplete.cpp2257 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
5566 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
5569 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
H A DSemaLookup.cpp4800 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DScopeInfo.h195 SmallVector<SwitchInfo, 8> SwitchStack; variable