Home
last modified time | relevance | path

Searched refs:CommentPragmasRegex (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.h155 const llvm::Regex &CommentPragmasRegex) const = 0;
190 const llvm::Regex &CommentPragmasRegex) const { in getReflowSplit() argument
260 const llvm::Regex &CommentPragmasRegex) const override;
342 const llvm::Regex &CommentPragmasRegex) const override;
353 const llvm::Regex &CommentPragmasRegex) const = 0;
409 const llvm::Regex &CommentPragmasRegex) const override;
421 const llvm::Regex &CommentPragmasRegex) const override;
430 const llvm::Regex &CommentPragmasRegex) const override;
493 const llvm::Regex &CommentPragmasRegex) const override;
500 const llvm::Regex &CommentPragmasRegex) const override;
H A DBreakableToken.cpp268 unsigned ContentStartColumn, const llvm::Regex &CommentPragmasRegex) const { in getSplit()
408 const llvm::Regex &CommentPragmasRegex) const { in getSplit()
410 if (!AlwaysReflow || CommentPragmasRegex.match(Content[LineIndex])) in getSplit()
596 unsigned ContentStartColumn, const llvm::Regex &CommentPragmasRegex) const { in getSplit()
598 if (!AlwaysReflow || CommentPragmasRegex.match(Content[LineIndex])) in getSplit()
731 unsigned LineIndex, const llvm::Regex &CommentPragmasRegex) const { in getReflowSplit()
732 if (!mayReflow(LineIndex, CommentPragmasRegex)) in getReflowSplit()
839 unsigned LineIndex, const llvm::Regex &CommentPragmasRegex) const { in mayReflow()
846 !CommentPragmasRegex.match(IndentContent) && in mayReflow()
1028 unsigned LineIndex, const llvm::Regex &CommentPragmasRegex) const { in getReflowSplit()
[all …]
H A DUnwrappedLineParser.h331 llvm::Regex CommentPragmasRegex; variable
H A DContinuationIndenter.h193 llvm::Regex CommentPragmasRegex; variable
H A DContinuationIndenter.cpp252 CommentPragmasRegex(Style.CommentPragmas), RawStringFormats(Style) {} in ContinuationIndenter()
2541 CommentPragmasRegex.match(Current.TokenText.substr(2)) || in createBreakableToken()
2629 ContentStartColumn, CommentPragmasRegex); in breakProtrudingToken()
2670 ContentStartColumn + ToSplitColumns + 1, CommentPragmasRegex); in breakProtrudingToken()
2800 Token->getReflowSplit(NextLineIndex, CommentPragmasRegex); in breakProtrudingToken()
2826 ContentStartColumn, CommentPragmasRegex); in breakProtrudingToken()
H A DUnwrappedLineParser.cpp163 CommentPragmasRegex(Style.CommentPragmas), Tokens(nullptr), in UnwrappedLineParser()
4642 const llvm::Regex &CommentPragmasRegex) { in continuesLineCommentSection() argument
4651 if (CommentPragmasRegex.match(IndentContent)) in continuesLineCommentSection()
4756 continuesLineCommentSection(*Tok, *Line, Style, CommentPragmasRegex); in flushComments()
4829 *FormatTok, *Line, Style, CommentPragmasRegex); in distributeComments()