Lines Matching refs:startswith
58 if (Comment.startswith(KnownPrefix)) { in getLineCommentIndentPrefix()
223 return Content.startswith("clang-format on") || in switchesFormatting()
224 Content.startswith("clang-format off"); in switchesFormatting()
274 assert(Tok.TokenText.startswith(Prefix) && Tok.TokenText.endswith(Postfix)); in BreakableStringLiteral()
343 if (Content.startswith(Prefix)) { in mayReflowContent()
377 assert(TokenText.startswith("/*") && TokenText.endswith("*/")); in BreakableBlockComment()
400 if (Lines.size() >= 2 && Content[1].startswith("**") && in BreakableBlockComment()
418 if (!Content[i].empty() && i + 1 != e && Decoration.startswith(Content[i])) in BreakableBlockComment()
420 while (!Content[i].startswith(Decoration)) in BreakableBlockComment()
449 unsigned DecorationSize = Decoration.startswith(Content[i]) in BreakableBlockComment()
456 if (!Decoration.startswith(Content[i])) in BreakableBlockComment()
465 if ((Lines[0] == "*" || Lines[0].startswith("* ")) && Lines.size() > 1) { in BreakableBlockComment()
468 } else if (Lines[0].startswith("* ") && Lines.size() == 1) { in BreakableBlockComment()
590 if (LineIndex == 0 && ContentWithNoDecoration.startswith("*")) { in getContentIndent()
745 if (Lines[LineIndex].ltrim(Blanks).startswith("*")) { in mayReflow()
768 assert((TokenText.startswith("//") || TokenText.startswith("#")) && in BreakableLineCommentSection()
1018 if (Lines[LineIndex].startswith("//")) { in mayReflow()