Lines Matching refs:Tok
56 for (auto Tok = BeginTok; Tok != EndTok; Tok = Tok->Next) { in sortPropertyAttributes() local
57 assert(Tok); in sortPropertyAttributes()
58 if (Tok->is(tok::comma)) { in sortPropertyAttributes()
64 if (!Tok->isOneOf(tok::identifier, tok::kw_class)) { in sortPropertyAttributes()
69 const StringRef Attribute{Tok->TokenText}; in sortPropertyAttributes()
75 assert(Tok->Next); in sortPropertyAttributes()
76 if (Tok->Next->is(tok::equal)) { in sortPropertyAttributes()
77 Tok = Tok->Next; in sortPropertyAttributes()
78 assert(Tok->Next); in sortPropertyAttributes()
79 if (Tok->Next->isNot(tok::identifier)) { in sortPropertyAttributes()
83 Tok = Tok->Next; in sortPropertyAttributes()
84 Value = Tok->TokenText; in sortPropertyAttributes()
144 BeginTok->getStartOfNonWhitespace(), EndTok->Previous->Tok.getEndLoc()); in sortPropertyAttributes()
155 tooling::Replacements &Fixes, const FormatToken *Tok) { in analyzeObjCPropertyDecl() argument
156 assert(Tok); in analyzeObjCPropertyDecl()
159 const FormatToken *const PropertyTok = Tok->Next; in analyzeObjCPropertyDecl()
197 for (const auto *Tok = First; Tok != Last; Tok = Tok->Next) { in analyze() local
198 assert(Tok); in analyze()
201 if (Tok->isNot(TT_ObjCProperty)) in analyze()
204 analyzeObjCPropertyDecl(SourceMgr, Keywords, Fixes, Tok); in analyze()