Lines Matching refs:startsWith
32 return Line.startsWith(tok::kw_for) || Line.startsWith(tok::kw_if) || in startsWithInitStatement()
33 Line.startsWith(tok::kw_switch); in startsWithInitStatement()
180 !Line.startsWith(tok::kw_template)) { in parseAngle()
264 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
265 Line.startsWith(tok::kw_export, Keywords.kw_type, in parseParens()
593 bool InsideInlineASM = Line.startsWith(tok::kw_asm); in parseSquare()
964 Line.startsWith(TT_ObjCMethodSpecifier)) { in consumeToken()
970 Line.startsWith(TT_ObjCMethodSpecifier) && in consumeToken()
1082 !Contexts.back().IsExpression && !Line.startsWith(TT_ObjCProperty) && in consumeToken()
1469 if (Line.startsWith(TT_ObjCMethodSpecifier)) { in parseLine()
1642 (Line.startsWith(Keywords.kw_type, tok::identifier) || in modifyContext()
1643 Line.startsWith(tok::kw_export, Keywords.kw_type, in modifyContext()
1653 if (!Line.startsWith(TT_UnaryOperator)) { in modifyContext()
2698 if (Line.startsWith(TT_ObjCMethodSpecifier)) in annotate()
2700 else if (Line.startsWith(TT_ObjCDecl)) in annotate()
2702 else if (Line.startsWith(TT_ObjCProperty)) in annotate()
3085 if (Line.startsWith(tok::kw_for) && Right.PartOfMultiVariableDeclStmt) in splitPenalty()
3140 if (Line.startsWith(TT_ObjCMethodSpecifier)) in splitPenalty()
3152 if (Line.startsWith(tok::kw_for) && Left.is(tok::equal)) in splitPenalty()
4141 Line.startsWith(tok::hash)) { in spaceRequiredBefore()
4237 (Line.startsWith(tok::kw_enum) || in mustBreakBefore()
4238 Line.startsWith(tok::kw_const, tok::kw_enum) || in mustBreakBefore()
4239 Line.startsWith(tok::kw_export, tok::kw_enum) || in mustBreakBefore()
4240 Line.startsWith(tok::kw_export, tok::kw_const, tok::kw_enum))) { in mustBreakBefore()
4421 if (Line.startsWith(tok::kw_enum) || in mustBreakBefore()
4422 Line.startsWith(tok::kw_typedef, tok::kw_enum)) { in mustBreakBefore()
4436 Line.startsWith(Keywords.kw_interface))) { in mustBreakBefore()
4440 return (Line.startsWith(tok::kw_class) && Style.BraceWrapping.AfterClass) || in mustBreakBefore()
4441 (Line.startsWith(tok::kw_struct) && Style.BraceWrapping.AfterStruct); in mustBreakBefore()