Lines Matching refs:isOneOf
342 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square); in calculateBraceTypes()
346 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()
358 NextTok->isOneOf(tok::comma, tok::period, tok::colon, in calculateBraceTypes()
403 assert(FormatTok->isOneOf(tok::l_brace, TT_MacroBlockBegin) && in parseBlock()
459 return InitialToken.isOneOf(tok::kw_namespace, tok::kw_class); in ShouldBreakBeforeBrace()
461 return InitialToken.isOneOf(tok::kw_class, tok::kw_struct, tok::kw_union); in ShouldBreakBeforeBrace()
823 if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS, in parseStructuralElement()
974 (Line->Tokens.back().Tok->isOneOf(tok::identifier, tok::kw_operator, in tryToParseLambda()
1038 if (!FormatTok->isOneOf(tok::comma, tok::identifier)) { in tryToParseLambdaIntroducer()
1050 if (!FormatTok->isOneOf(tok::identifier, tok::kw_this)) in tryToParseLambdaIntroducer()
1294 assert(FormatTok->isOneOf(tok::kw_try, tok::kw___try) && "'try' expected"); in parseTryCatch()
1334 if (!(FormatTok->isOneOf(tok::kw_catch, Keywords.kw___except, in parseTryCatch()
1348 if (FormatTok->isOneOf(tok::semi, tok::r_brace, tok::eof)) in parseTryCatch()
1401 if (FormatTok->isOneOf(tok::semi, tok::l_brace, tok::r_brace)) in parseNew()
1418 assert(FormatTok->isOneOf(tok::kw_for, tok::kw_while, TT_ForEachMacro) && in parseForOrWhileLoop()
1514 if (FormatTok->isOneOf(Keywords.kw_slots, Keywords.kw_qslots)) in parseAccessSpecifier()
1532 FormatTok->isOneOf(tok::colon, tok::coloncolon, tok::less, in parseEnum()
1582 if (Tok->isOneOf(tok::l_brace, tok::semi)) { in parseJavaEnumBody()
1640 while (FormatTok->isOneOf(tok::identifier, tok::coloncolon, tok::hashhash, in parseRecord()
1645 FormatTok->isOneOf(tok::period, tok::comma))) { in parseRecord()
1665 if (FormatTok->isOneOf(tok::colon, tok::less)) { in parseRecord()
1765 assert(FormatTok->isOneOf(Keywords.kw_import, tok::kw_export)); in parseJavaScriptEs6ImportExport()
1779 if (FormatTok->isOneOf(tok::kw_const, tok::kw_class, tok::kw_enum, in parseJavaScriptEs6ImportExport()