Searched refs:CommentPragmasRegex (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | BreakableToken.h | 158 const llvm::Regex &CommentPragmasRegex) const = 0; 193 const llvm::Regex &CommentPragmasRegex) const { in getReflowSplit() argument 258 const llvm::Regex &CommentPragmasRegex) const override; 301 const llvm::Regex &CommentPragmasRegex) const override; 312 const llvm::Regex &CommentPragmasRegex) const = 0; 366 const llvm::Regex &CommentPragmasRegex) const override; 378 const llvm::Regex &CommentPragmasRegex) const override; 387 const llvm::Regex &CommentPragmasRegex) const override; 450 const llvm::Regex &CommentPragmasRegex) const override; 457 const llvm::Regex &CommentPragmasRegex) const override;
|
| H A D | BreakableToken.cpp | 307 const llvm::Regex &CommentPragmasRegex) const { in getSplit() 309 if (CommentPragmasRegex.match(Content[LineIndex])) in getSplit() 497 if (CommentPragmasRegex.match(Content[LineIndex])) in getSplit() 632 unsigned LineIndex, const llvm::Regex &CommentPragmasRegex) const { in getReflowSplit() 633 if (!mayReflow(LineIndex, CommentPragmasRegex)) in getReflowSplit() 740 unsigned LineIndex, const llvm::Regex &CommentPragmasRegex) const { in mayReflow() 746 return LineIndex > 0 && !CommentPragmasRegex.match(IndentContent) && in mayReflow() 930 unsigned LineIndex, const llvm::Regex &CommentPragmasRegex) const { in getReflowSplit() 931 if (!mayReflow(LineIndex, CommentPragmasRegex)) in getReflowSplit() 1039 unsigned LineIndex, const llvm::Regex &CommentPragmasRegex) const { in mayReflow() [all …]
|
| H A D | UnwrappedLineParser.h | 259 llvm::Regex CommentPragmasRegex; variable
|
| H A D | ContinuationIndenter.h | 197 llvm::Regex CommentPragmasRegex; variable
|
| H A D | ContinuationIndenter.cpp | 234 CommentPragmasRegex(Style.CommentPragmas), RawStringFormats(Style) {} in ContinuationIndenter() 2144 CommentPragmasRegex.match(Current.TokenText.substr(2)) || in createBreakableToken() 2232 ContentStartColumn, CommentPragmasRegex); in breakProtrudingToken() 2273 ContentStartColumn + ToSplitColumns + 1, CommentPragmasRegex); in breakProtrudingToken() 2403 Token->getReflowSplit(NextLineIndex, CommentPragmasRegex); in breakProtrudingToken() 2429 ContentStartColumn, CommentPragmasRegex); in breakProtrudingToken()
|
| H A D | UnwrappedLineParser.cpp | 323 CommentPragmasRegex(Style.CommentPragmas), Tokens(nullptr), in UnwrappedLineParser() 4054 const llvm::Regex &CommentPragmasRegex) { in continuesLineCommentSection() argument 4063 if (CommentPragmasRegex.match(IndentContent)) in continuesLineCommentSection() 4168 continuesLineCommentSection(*Tok, *Line, CommentPragmasRegex); in flushComments() 4242 continuesLineCommentSection(*FormatTok, *Line, CommentPragmasRegex); in distributeComments()
|