Lines Matching refs:starts_with
58 if (Comment.starts_with(KnownPrefix)) { in getLineCommentIndentPrefix()
223 return Content.starts_with("clang-format on") || in switchesFormatting()
224 Content.starts_with("clang-format off"); in switchesFormatting()
274 assert(Tok.TokenText.starts_with(Prefix) && Tok.TokenText.ends_with(Postfix)); in BreakableStringLiteral()
457 if (Content.starts_with(Prefix)) { in mayReflowContent()
491 assert(TokenText.starts_with("/*") && TokenText.ends_with("*/")); in BreakableBlockComment()
514 if (Lines.size() >= 2 && Content[1].starts_with("**") && in BreakableBlockComment()
534 } else if (!Text.empty() && Decoration.starts_with(Text)) { in BreakableBlockComment()
537 while (!Text.starts_with(Decoration)) in BreakableBlockComment()
565 unsigned DecorationSize = Decoration.starts_with(Content[i]) in BreakableBlockComment()
571 if (!Decoration.starts_with(Content[i])) { in BreakableBlockComment()
580 if ((Lines[0] == "*" || Lines[0].starts_with("* ")) && Lines.size() > 1) { in BreakableBlockComment()
583 } else if (Lines[0].starts_with("* ") && Lines.size() == 1) { in BreakableBlockComment()
675 bool HasDecoration = Lines[LineIndex].ltrim().starts_with(Decoration); in getRemainingLength()
703 if (LineIndex == 0 && ContentWithNoDecoration.starts_with("*")) in getContentIndent()
856 if (Lines[LineIndex].ltrim(Blanks).starts_with("*")) in mayReflow()
879 assert((TokenText.starts_with("//") || TokenText.starts_with("#")) && in BreakableLineCommentSection()
916 if (FirstCommentChar == '#' && !TokenText.starts_with("#")) in BreakableLineCommentSection()
1155 if (Lines[LineIndex].starts_with("//")) in mayReflow()