Searched refs:ColumnLimit (Results 1 – 25 of 30) sorted by relevance
12
44 unsigned ColumnLimit, in getCommentSplit() argument47 if (ColumnLimit <= ContentStartColumn + 1) in getCommentSplit()50 unsigned MaxSplit = ColumnLimit - ContentStartColumn + 1; in getCommentSplit()86 getStringSplit(StringRef Text, unsigned UsedColumns, unsigned ColumnLimit, in getStringSplit() argument91 if (ColumnLimit <= UsedColumns) in getStringSplit()93 unsigned MaxSplit = ColumnLimit - UsedColumns; in getStringSplit()164 unsigned ColumnLimit) const { in getSplit()167 ColumnLimit, Style.TabWidth, Encoding); in getSplit()220 unsigned ColumnLimit) const { in getSplit()222 ColumnLimit, Style.TabWidth, Encoding); in getSplit()[all …]
58 unsigned ColumnLimit) const = 0;126 unsigned ColumnLimit) const override;144 unsigned ColumnLimit) const override;174 unsigned ColumnLimit) const override;
145 if (MergedLines > 0 && Style.ColumnLimit == 0) in getNextMergedLine()177 if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit) in tryFitMultipleLinesInOne()181 Style.ColumnLimit == 0 ? UINT_MAX : Style.ColumnLimit - Indent; in tryFitMultipleLinesInOne()212 if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(TheLine))) in tryFitMultipleLinesInOne()546 if (Style.ColumnLimit > 0 && in formatChildren()548 Style.ColumnLimit) in formatChildren()847 unsigned ColumnLimit = getColumnLimit(TheLine.InPPDirective, NextLine); in format() local849 TheLine.Last->TotalLength + Indent <= ColumnLimit || in format()854 if (Style.ColumnLimit == 0) in format()965 return Style.ColumnLimit - (ContinuesPPDirective ? 2 : 0); in getColumnLimit()
170 Style.ColumnLimit > 0 && in mustBreak()179 Style.BreakConstructorInitializersBeforeComma || Style.ColumnLimit != 0)) in mustBreak()186 if (Current.isMemberAccess() && Style.ColumnLimit != 0 && in mustBreak()187 State.Column + getLengthToNextOperator(Current) > Style.ColumnLimit && in mustBreak()264 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && in mustBreak()465 (State.Column <= Style.ColumnLimit / 3 || in addTokenOnNewLine()977 if (Style.ColumnLimit) { in moveStatePastScopeOpener()1086 unsigned ColumnLimit = getColumnLimit(State); in breakProtrudingToken() local1150 ColumnLimit = Style.ColumnLimit; in breakProtrudingToken()1154 if (Current.UnbreakableTailLength >= ColumnLimit) in breakProtrudingToken()[all …]
92 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()232 unsigned MaxItems = Style.ColumnLimit / 3; in precomputeFormattingInfos()277 if (Format.TotalWidth > Style.ColumnLimit) in precomputeFormattingInfos()
291 unsigned ChangeMaxColumn = Style.ColumnLimit - LineLengthAfter; in AlignTokens()356 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; in alignTrailingComments()443 Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; in alignEscapedNewlines()452 MaxEndOfLine = Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; in alignEscapedNewlines()
6 ColumnLimit: 10012 ColumnLimit: 100
56 FormatStyle getLLVMStyleWithColumns(unsigned ColumnLimit) { in getLLVMStyleWithColumns() argument58 Style.ColumnLimit = ColumnLimit; in getLLVMStyleWithColumns()62 FormatStyle getGoogleStyleWithColumns(unsigned ColumnLimit) { in getGoogleStyleWithColumns() argument64 Style.ColumnLimit = ColumnLimit; in getGoogleStyleWithColumns()338 AllowsMergedIf.ColumnLimit = 14; in TEST_F()344 AllowsMergedIf.ColumnLimit = 13; in TEST_F()804 Style.ColumnLimit = 21; in TEST_F()3271 Style.ColumnLimit = 45; in TEST_F()3544 Style.ColumnLimit = 60; in TEST_F()3687 OnePerLine.ColumnLimit = 60; in TEST_F()[all …]
40 static FormatStyle getStyleWithColumns(unsigned ColumnLimit) { in getStyleWithColumns() argument42 Style.ColumnLimit = ColumnLimit; in getStyleWithColumns()
57 Style.ColumnLimit = 12; in TEST_F()451 Style.ColumnLimit = 11; in TEST_F()
43 static FormatStyle getGoogleJSStyleWithColumns(unsigned ColumnLimit) { in getGoogleJSStyleWithColumns() argument45 Style.ColumnLimit = ColumnLimit; in getGoogleJSStyleWithColumns()
36 Style.ColumnLimit = 60; // To make writing tests easier. in format()
2 ColumnLimit: 0
5 ColumnLimit: 132
2 ColumnLimit: 100
22 Style.ColumnLimit = 60; in LLVMFuzzerTestOneInput()
1 ColumnLimit: 100
300 unsigned ColumnLimit; member665 ColumnLimit == R.ColumnLimit && CommentPragmas == R.CommentPragmas &&
10 ColumnLimit: 80
16 ColumnLimit: 80
22 ColumnLimit: 78
42 ColumnLimit: 80