Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DScopeInfo.cpp37 SwitchStack.clear(); in Clear()
H A DSemaStmtAttr.cpp38 if (S.getCurFunction()->SwitchStack.empty()) { in handleFallThroughAttr()
H A DSemaStmt.cpp369 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()
661 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()
717 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()
720 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()
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 DSemaLookup.cpp4001 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DScopeInfo.h132 SmallVector<SwitchStmt*, 8> SwitchStack; variable