reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
382 State.Line->startsWith(TT_ObjCMethodSpecifier))
tools/clang/lib/Format/Format.cpp1533 if (!AnnotatedLines[++CurrentLine]->startsWith(tok::l_brace)) { 1541 if (AnnotatedLines[CurrentLine]->startsWith(tok::r_brace))tools/clang/lib/Format/NamespaceEndCommentsFixer.cpp
157 if (!Line->Affected || Line->InPPDirective || !Line->startsWith(tok::r_brace))
tools/clang/lib/Format/TokenAnnotator.cpp146 !Line.startsWith(tok::kw_template)) 186 (Line.startsWith(Keywords.kw_type, tok::identifier) || 187 Line.startsWith(tok::kw_export, Keywords.kw_type, 467 bool InsideInlineASM = Line.startsWith(tok::kw_asm); 789 Line.startsWith(TT_ObjCMethodSpecifier)) { 795 Line.startsWith(TT_ObjCMethodSpecifier) && 888 !Contexts.back().IsExpression && !Line.startsWith(TT_ObjCProperty) && 991 (Contexts.size() == 1 || Line.startsWith(tok::kw_for))) { 1196 if (Line.startsWith(TT_ObjCMethodSpecifier)) { 1300 (Line.startsWith(Keywords.kw_type, tok::identifier) || 1301 Line.startsWith(tok::kw_export, Keywords.kw_type, 1305 if (!Line.startsWith(TT_UnaryOperator)) { 2067 if (Line.startsWith(TT_ObjCMethodSpecifier)) 2069 else if (Line.startsWith(TT_ObjCDecl)) 2071 else if (Line.startsWith(TT_ObjCProperty)) 2363 if (Line.startsWith(tok::kw_for) && Right.PartOfMultiVariableDeclStmt) 2417 if (Line.startsWith(TT_ObjCMethodSpecifier)) 2429 if (Line.startsWith(tok::kw_for) && Left.is(tok::equal)) 2978 Line.startsWith(tok::hash)) 3015 (Line.startsWith(tok::kw_enum) || 3016 Line.startsWith(tok::kw_const, tok::kw_enum) || 3017 Line.startsWith(tok::kw_export, tok::kw_enum) || 3018 Line.startsWith(tok::kw_export, tok::kw_const, tok::kw_enum))) 3110 return (Line.startsWith(tok::kw_enum) && Style.BraceWrapping.AfterEnum) || 3111 (Line.startsWith(tok::kw_typedef, tok::kw_enum) && 3113 (Line.startsWith(tok::kw_class) && Style.BraceWrapping.AfterClass) || 3114 (Line.startsWith(tok::kw_struct) && Style.BraceWrapping.AfterStruct);tools/clang/lib/Format/TokenAnnotator.h
117 return startsWith(tok::kw_namespace) || startsWith(TT_NamespaceMacro) || 117 return startsWith(tok::kw_namespace) || startsWith(TT_NamespaceMacro) || 118 startsWith(tok::kw_inline, tok::kw_namespace) || 119 startsWith(tok::kw_export, tok::kw_namespace);tools/clang/lib/Format/UnwrappedLineFormatter.cpp
25 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && 140 if (!Line->startsWith(tok::r_brace)) 448 if (I + 2 != E && Line.startsWith(tok::kw_if) && 537 Line.startsWith(tok::kw_if) && 542 Line.startsWith(tok::kw_if) && 1089 PreviousLine && PreviousLine->startsWith(tok::r_brace); 1093 !TheLine.startsWith(tok::r_brace));tools/clang/lib/Format/UsingDeclarationsSorter.cpp
194 !AnnotatedLines[I]->startsWith(tok::kw_using) || FirstTok->Finalized) {