Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DScopeInfo.h69 llvm::SmallVector<SwitchStmt*, 8> SwitchStack; variable
/external/clang/lib/Sema/
DSemaStmt.cpp228 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
235 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()
248 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
254 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()
463 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()
479 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()
483 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()
DSema.cpp49 SwitchStack.clear(); in Clear()
DSemaCodeComplete.cpp1566 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
3409 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
3412 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
DSemaLookup.cpp3446 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()