Home
last modified time | relevance | path

Searched refs:IndentContent (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DBreakableToken.cpp743 StringRef IndentContent = Content[LineIndex]; in mayReflow() local
745 IndentContent = Lines[LineIndex].ltrim(Blanks).substr(1); in mayReflow()
746 return LineIndex > 0 && !CommentPragmasRegex.match(IndentContent) && in mayReflow()
1042 StringRef IndentContent = Content[LineIndex]; in mayReflow() local
1044 IndentContent = Lines[LineIndex].substr(2); in mayReflow()
1051 return LineIndex > 0 && !CommentPragmasRegex.match(IndentContent) && in mayReflow()
H A DUnwrappedLineParser.cpp4058 StringRef IndentContent = FormatTok.TokenText; in continuesLineCommentSection() local
4061 IndentContent = FormatTok.TokenText.substr(2); in continuesLineCommentSection()
4063 if (CommentPragmasRegex.match(IndentContent)) in continuesLineCommentSection()