Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp41 struct CaseInfo { struct
50 CaseInfo() : SC(nullptr), State(St_Unchecked) {} in CaseInfo() argument
51 CaseInfo(SwitchCase *S, SourceRange Range) in CaseInfo() argument
57 SmallVectorImpl<CaseInfo> &Cases;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector()
81 CaseInfo(Curr, SourceRange(Curr->getBeginLoc(), NextLoc))); in VisitSwitchStmt()
99 SmallVector<CaseInfo, 16> Cases;
151 CaseInfo &info = Cases[i]; in handleProtectedNote()
154 if (info.State == CaseInfo::St_Unchecked) in handleProtectedNote()
156 assert(info.State != CaseInfo::St_Unchecked); in handleProtectedNote()
[all …]