Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DTransProtectedScope.cpp41 struct CaseInfo { struct
50 CaseInfo() : SC(nullptr), State(St_Unchecked) {} in CaseInfo() function
51 CaseInfo(SwitchCase *S, SourceRange Range) in CaseInfo() argument
57 SmallVectorImpl<CaseInfo> &Cases;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector()
80 Cases.push_back(CaseInfo(Curr,SourceRange(Curr->getLocStart(), NextLoc))); in VisitSwitchStmt()
98 SmallVector<CaseInfo, 16> Cases;
150 CaseInfo &info = Cases[i]; in handleProtectedNote()
153 if (info.State == CaseInfo::St_Unchecked) in handleProtectedNote()
155 assert(info.State != CaseInfo::St_Unchecked); in handleProtectedNote()
[all …]