Home
last modified time | relevance | path

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

12

/external/clang/lib/Format/
DBreakableToken.cpp44 unsigned ColumnLimit, in getCommentSplit() argument
47 if (ColumnLimit <= ContentStartColumn + 1) in getCommentSplit()
50 unsigned MaxSplit = ColumnLimit - ContentStartColumn + 1; in getCommentSplit()
86 getStringSplit(StringRef Text, unsigned UsedColumns, unsigned ColumnLimit, in getStringSplit() argument
91 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 …]
DBreakableToken.h58 unsigned ColumnLimit) const = 0;
126 unsigned ColumnLimit) const override;
144 unsigned ColumnLimit) const override;
174 unsigned ColumnLimit) const override;
DUnwrappedLineFormatter.cpp145 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() local
849 TheLine.Last->TotalLength + Indent <= ColumnLimit || in format()
854 if (Style.ColumnLimit == 0) in format()
965 return Style.ColumnLimit - (ContinuesPPDirective ? 2 : 0); in getColumnLimit()
DContinuationIndenter.cpp170 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() local
1150 ColumnLimit = Style.ColumnLimit; in breakProtrudingToken()
1154 if (Current.UnbreakableTailLength >= ColumnLimit) in breakProtrudingToken()
[all …]
DFormatToken.cpp92 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()
DWhitespaceManager.cpp291 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()
/external/conscrypt/
D.clang-format6 ColumnLimit: 100
12 ColumnLimit: 100
/external/clang/unittests/Format/
DFormatTest.cpp56 FormatStyle getLLVMStyleWithColumns(unsigned ColumnLimit) { in getLLVMStyleWithColumns() argument
58 Style.ColumnLimit = ColumnLimit; in getLLVMStyleWithColumns()
62 FormatStyle getGoogleStyleWithColumns(unsigned ColumnLimit) { in getGoogleStyleWithColumns() argument
64 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 …]
DFormatTestJava.cpp40 static FormatStyle getStyleWithColumns(unsigned ColumnLimit) { in getStyleWithColumns() argument
42 Style.ColumnLimit = ColumnLimit; in getStyleWithColumns()
DFormatTestSelective.cpp57 Style.ColumnLimit = 12; in TEST_F()
451 Style.ColumnLimit = 11; in TEST_F()
DFormatTestJS.cpp43 static FormatStyle getGoogleJSStyleWithColumns(unsigned ColumnLimit) { in getGoogleJSStyleWithColumns() argument
45 Style.ColumnLimit = ColumnLimit; in getGoogleJSStyleWithColumns()
DFormatTestProto.cpp36 Style.ColumnLimit = 60; // To make writing tests easier. in format()
/external/spirv-llvm/test/
D.clang-format2 ColumnLimit: 0
/external/llvm/test/
D.clang-format2 ColumnLimit: 0
/external/clang/test/
D.clang-format2 ColumnLimit: 0
/external/vulkan-validation-layers/tests/
D.clang-format5 ColumnLimit: 132
/external/vulkan-validation-layers/layers/
D.clang-format5 ColumnLimit: 132
/external/webrtc/talk/app/webrtc/objc/
D.clang-format2 ColumnLimit: 100
/external/clang/tools/clang-format/fuzzer/
DClangFormatFuzzer.cpp22 Style.ColumnLimit = 60; in LLVMFuzzerTestOneInput()
/external/Microsoft-GSL/
D.clang-format1 ColumnLimit: 100
/external/clang/include/clang/Format/
DFormat.h300 unsigned ColumnLimit; member
665 ColumnLimit == R.ColumnLimit && CommentPragmas == R.CommentPragmas &&
/external/autotest/client/site_tests/graphics_Gralloc/src/
D.clang-format10 ColumnLimit: 80
/external/jsoncpp/
D.clang-format16 ColumnLimit: 80
/external/mesa3d/src/gallium/drivers/swr/
D.clang-format22 ColumnLimit: 78
/external/libvpx/libvpx/
D.clang-format42 ColumnLimit: 80

12