Lines Matching refs:startsWith
44 return Line.startsWith(tok::kw_for) || Line.startsWith(tok::kw_if) || in startsWithInitStatement()
45 Line.startsWith(tok::kw_switch); in startsWithInitStatement()
250 if (MaybeAngles && InExpr && !Line.startsWith(tok::kw_template) && in parseAngle()
356 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
357 Line.startsWith(tok::kw_export, Keywords.kw_type, in parseParens()
701 bool InsideInlineASM = Line.startsWith(tok::kw_asm); in parseSquare()
1383 Line.startsWith(TT_ObjCMethodSpecifier)) { in consumeToken()
1389 Line.startsWith(TT_ObjCMethodSpecifier) && in consumeToken()
1557 !Contexts.back().IsExpression && !Line.startsWith(TT_ObjCProperty) && in consumeToken()
1558 !Line.startsWith(tok::l_paren) && in consumeToken()
1731 Line.startsWith(Keywords.kw_assign)) { in consumeToken()
2025 if (Line.startsWith(TT_ObjCMethodSpecifier)) { in parseLine()
2217 (Line.startsWith(Keywords.kw_type, tok::identifier) || in modifyContext()
2218 Line.startsWith(tok::kw_export, Keywords.kw_type, in modifyContext()
2228 if (!Line.startsWith(TT_UnaryOperator)) { in modifyContext()
3677 if (Line.startsWith(TT_ObjCMethodSpecifier)) in annotate()
3679 else if (Line.startsWith(TT_ObjCDecl)) in annotate()
3681 else if (Line.startsWith(TT_ObjCProperty)) in annotate()
4196 if (Line.startsWith(tok::kw_for) && Right.PartOfMultiVariableDeclStmt) in splitPenalty()
4251 if (Line.startsWith(TT_ObjCMethodSpecifier)) in splitPenalty()
4263 if (Line.startsWith(tok::kw_for) && Left.is(tok::equal)) in splitPenalty()
5524 (Line.startsWith(tok::kw_enum) || in mustBreakBefore()
5525 Line.startsWith(tok::kw_const, tok::kw_enum) || in mustBreakBefore()
5526 Line.startsWith(tok::kw_export, tok::kw_enum) || in mustBreakBefore()
5527 Line.startsWith(tok::kw_export, tok::kw_const, tok::kw_enum))) { in mustBreakBefore()
5635 if (Line.startsWith(tok::kw_asm) && Right.is(TT_InlineASMColon) && in mustBreakBefore()
5769 if (Line.startsWith(tok::kw_enum) || in mustBreakBefore()
5770 Line.startsWith(tok::kw_typedef, tok::kw_enum)) { in mustBreakBefore()
5784 Line.startsWith(Keywords.kw_interface))) { in mustBreakBefore()
5790 return (Line.startsWith(tok::kw_class) && in mustBreakBefore()
5792 (Line.startsWith(tok::kw_struct) && in mustBreakBefore()