Home
last modified time | relevance | path

Searched refs:ColumnLimit (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.cpp210 LanguageStyle->ColumnLimit = CodeStyle.ColumnLimit; in RawStringFormatStyleManager()
376 Style.ColumnLimit > 0)))) { in mustBreak()
426 Style.ColumnLimit > 0 && in mustBreak()
443 Style.ColumnLimit != 0)) { in mustBreak()
1545 Style.ColumnLimit > 0 && in moveStateToNextToken()
1869 if (Style.ColumnLimit) { in moveStatePastScopeOpener()
1963 Style.ColumnLimit) { in moveStatePastScopeCloser()
2396 ColumnLimit = Style.ColumnLimit; in breakProtrudingToken()
2398 if (ColumnLimit == 0) { in breakProtrudingToken()
2401 ColumnLimit = std::numeric_limits<decltype(ColumnLimit)>::max(); in breakProtrudingToken()
[all …]
H A DBreakableToken.cpp69 unsigned ColumnLimit, unsigned TabWidth, in getCommentSplit() argument
73 << "\", Column limit: " << ColumnLimit in getCommentSplit()
75 if (ColumnLimit <= ContentStartColumn + 1) in getCommentSplit()
78 unsigned MaxSplit = ColumnLimit - ContentStartColumn + 1; in getCommentSplit()
171 getStringSplit(StringRef Text, unsigned UsedColumns, unsigned ColumnLimit, in getStringSplit() argument
176 if (ColumnLimit <= UsedColumns) in getStringSplit()
178 unsigned MaxSplit = ColumnLimit - UsedColumns; in getStringSplit()
280 unsigned LineIndex, unsigned TailOffset, unsigned ColumnLimit, in getSplit() argument
426 ContentStartColumn, ColumnLimit, Style.TabWidth, in getSplit()
592 DelimitersOnNewline = EndColumn > Style.ColumnLimit; in BreakableBlockComment()
[all …]
H A DUnwrappedLineFormatter.cpp227 if (MergedLines > 0 && Style.ColumnLimit == 0) { in getNextMergedLine()
264 if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit) in tryFitMultipleLinesInOne()
268 Style.ColumnLimit == 0 ? UINT_MAX : Style.ColumnLimit - Indent; in tryFitMultipleLinesInOne()
446 Style.ColumnLimit) in tryFitMultipleLinesInOne()
465 return (Style.ColumnLimit == 0 || in tryFitMultipleLinesInOne()
466 TheLine->Last->TotalLength <= Style.ColumnLimit) in tryFitMultipleLinesInOne()
872 if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(*I))) in tryMergeSimpleBlock()
1060 if (Style.ColumnLimit > 0 && in formatChildren()
1389 (TheLine.Last->TotalLength + Indent <= ColumnLimit || in format()
1394 if (Style.ColumnLimit == 0) { in format()
[all …]
H A DBreakableToken.h157 unsigned ColumnLimit, unsigned ContentStartColumn,
261 Split getSplit(unsigned LineIndex, unsigned TailOffset, unsigned ColumnLimit,
343 Split getSplit(unsigned LineIndex, unsigned TailOffset, unsigned ColumnLimit,
408 Split getSplit(unsigned LineIndex, unsigned TailOffset, unsigned ColumnLimit,
H A DFormatToken.cpp131 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
281 unsigned MaxItems = Style.ColumnLimit / 3; in precomputeFormattingInfos()
327 if (Format.TotalWidth > Style.ColumnLimit && Columns > 1) in precomputeFormattingInfos()
H A DWhitespaceManager.cpp667 if (Style.ColumnLimit != 0 &&
668 Style.ColumnLimit < NewLeft + NewAnchor + NewRight) {
1086 if (RestoredLineLength >= Style.ColumnLimit && Style.ColumnLimit > 0) in alignTrailingComments()
1099 else if (Style.ColumnLimit == 0) in alignTrailingComments()
1101 else if (Style.ColumnLimit >= C.TokenLength) in alignTrailingComments()
1102 ChangeMaxColumn = Style.ColumnLimit - C.TokenLength; in alignTrailingComments()
1221 unsigned MaxEndOfLine = AlignLeft ? 0 : Style.ColumnLimit; in alignEscapedNewlines()
1230 MaxEndOfLine = AlignLeft ? 0 : Style.ColumnLimit; in alignEscapedNewlines()
1519 if (LineLimit < Style.ColumnLimit) { in getCells()
H A DFormat.cpp971 IO.mapOptional("ColumnLimit", Style.ColumnLimit); in mapping()
1475 LLVMStyle.ColumnLimit = 80; in getLLVMStyle()
1598 LLVMStyle.ColumnLimit = 0; in getLLVMStyle()
1701 GoogleStyle.ColumnLimit = 100; in getGoogleStyle()
1736 GoogleStyle.ColumnLimit = 100; in getGoogleStyle()
1746 GoogleStyle.ColumnLimit = 100; in getGoogleStyle()
1808 ChromiumStyle.ColumnLimit = 80; in getChromiumStyle()
1851 Style.ColumnLimit = 0; in getWebKitStyle()
1871 Style.ColumnLimit = 79; in getGNUStyle()
1880 Style.ColumnLimit = 120; in getMicrosoftStyle()
[all …]
H A DUnwrappedLineParser.cpp681 const auto ColumnLimit = Style.ColumnLimit; in mightFitOnOneLine() local
682 if (ColumnLimit == 0) in mightFitOnOneLine()
713 Prev && Prev->TotalLength + ColumnLimit == OpeningBrace->TotalLength) { in mightFitOnOneLine()
714 Length -= ColumnLimit; in mightFitOnOneLine()
735 return Line.Level * Style.IndentWidth + Length <= ColumnLimit; in mightFitOnOneLine()
H A DTokenAnnotator.cpp3455 ? Style.ColumnLimit in calculateFormattingInformation()
3610 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation()
3617 Current->TotalLength = Prev->TotalLength + Style.ColumnLimit; in calculateFormattingInformation()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp89 bool violatesColumnLimit(llvm::StringRef Code, unsigned ColumnLimit, in violatesColumnLimit() argument
101 if (Line.size() > ColumnLimit) in violatesColumnLimit()
107 getRangesForFormating(llvm::StringRef Code, unsigned ColumnLimit, in getRangesForFormating() argument
131 violatesColumnLimit(Code, ColumnLimit, Start, End)) in getRangesForFormating()
356 *ChangedCode, Spec.Style.ColumnLimit, Spec.Format, AllReplaces); in applyAtomicChanges()
/freebsd/contrib/libcbor/
H A D.clang-format48 ColumnLimit: 80
/freebsd/
H A D.clang-format107 ColumnLimit: 80
/freebsd/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h2211 unsigned ColumnLimit; member
4806 ColumnLimit == R.ColumnLimit && CommentPragmas == R.CommentPragmas &&