/external/clang/lib/Format/ |
D | BreakableToken.cpp | 44 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 …]
|
D | BreakableToken.h | 58 unsigned ColumnLimit) const = 0; 126 unsigned ColumnLimit) const override; 144 unsigned ColumnLimit) const override; 174 unsigned ColumnLimit) const override;
|
D | UnwrappedLineFormatter.cpp | 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() local 849 TheLine.Last->TotalLength + Indent <= ColumnLimit || in format() 852 if (Style.ColumnLimit == 0) in format() 961 return Style.ColumnLimit - (ContinuesPPDirective ? 2 : 0); in getColumnLimit()
|
D | ContinuationIndenter.cpp | 157 Style.ColumnLimit > 0 && in mustBreak() 166 Style.BreakConstructorInitializersBeforeComma || Style.ColumnLimit != 0)) in mustBreak() 245 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && in mustBreak() 432 (State.Column <= Style.ColumnLimit / 3 || in addTokenOnNewLine() 926 if (Style.ColumnLimit) { in moveStatePastScopeOpener() 1032 unsigned ColumnLimit = getColumnLimit(State); in breakProtrudingToken() local 1095 ColumnLimit = Style.ColumnLimit; in breakProtrudingToken() 1099 if (Current.UnbreakableTailLength >= ColumnLimit) in breakProtrudingToken() 1102 unsigned RemainingSpace = ColumnLimit - Current.UnbreakableTailLength; in breakProtrudingToken() 1115 Token->getSplit(LineIndex, TailOffset, ColumnLimit); in breakProtrudingToken() [all …]
|
D | FormatToken.cpp | 91 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken() 221 unsigned MaxItems = Style.ColumnLimit / 3; in precomputeFormattingInfos() 266 if (Format.TotalWidth > Style.ColumnLimit) in precomputeFormattingInfos()
|
D | WhitespaceManager.cpp | 279 unsigned ChangeMaxColumn = Style.ColumnLimit - LineLengthAfter; in AlignTokens() 344 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; in alignTrailingComments() 421 Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; in alignEscapedNewlines() 430 MaxEndOfLine = Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; in alignEscapedNewlines()
|
D | Format.cpp | 277 IO.mapOptional("ColumnLimit", Style.ColumnLimit); in mapping() 492 LLVMStyle.ColumnLimit = 80; in getLLVMStyle() 576 GoogleStyle.ColumnLimit = 100; in getGoogleStyle() 645 Style.ColumnLimit = 0; in getWebKitStyle() 663 Style.ColumnLimit = 79; in getGNUStyle()
|
D | TokenAnnotator.cpp | 1596 Line.First->IsMultiline ? Style.ColumnLimit : Line.First->ColumnWidth; in calculateFormattingInformation() 1648 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation() 1656 Current->TotalLength = Prev->TotalLength + Style.ColumnLimit; in calculateFormattingInformation()
|
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 51 FormatStyle getLLVMStyleWithColumns(unsigned ColumnLimit) { in getLLVMStyleWithColumns() argument 53 Style.ColumnLimit = ColumnLimit; in getLLVMStyleWithColumns() 57 FormatStyle getGoogleStyleWithColumns(unsigned ColumnLimit) { in getGoogleStyleWithColumns() argument 59 Style.ColumnLimit = ColumnLimit; in getGoogleStyleWithColumns() 321 AllowsMergedIf.ColumnLimit = 14; in TEST_F() 327 AllowsMergedIf.ColumnLimit = 13; in TEST_F() 786 Style.ColumnLimit = 21; in TEST_F() 3228 Style.ColumnLimit = 45; in TEST_F() 3501 Style.ColumnLimit = 60; in TEST_F() 3636 OnePerLine.ColumnLimit = 60; in TEST_F() [all …]
|
D | FormatTestJava.cpp | 40 static FormatStyle getStyleWithColumns(unsigned ColumnLimit) { in getStyleWithColumns() argument 42 Style.ColumnLimit = ColumnLimit; in getStyleWithColumns()
|
D | FormatTestSelective.cpp | 57 Style.ColumnLimit = 12; in TEST_F() 427 Style.ColumnLimit = 11; in TEST_F()
|
D | FormatTestJS.cpp | 43 static FormatStyle getGoogleJSStyleWithColumns(unsigned ColumnLimit) { in getGoogleJSStyleWithColumns() argument 45 Style.ColumnLimit = ColumnLimit; in getGoogleJSStyleWithColumns()
|
D | FormatTestProto.cpp | 36 Style.ColumnLimit = 60; // To make writing tests easier. in format()
|
/external/clang/include/clang/Format/ |
D | Format.h | 293 unsigned ColumnLimit; member 620 ColumnLimit == R.ColumnLimit && CommentPragmas == R.CommentPragmas &&
|
/external/clang/test/ |
D | .clang-format | 2 ColumnLimit: 0
|
/external/llvm/test/ |
D | .clang-format | 2 ColumnLimit: 0
|
/external/conscrypt/src/ |
D | .clang-format | 6 ColumnLimit: 100
|
/external/vulkan-validation-layers/layers/ |
D | .clang-format | 5 ColumnLimit: 132
|
/external/webrtc/talk/app/webrtc/objc/ |
D | .clang-format | 2 ColumnLimit: 100
|
/external/clang/tools/clang-format/fuzzer/ |
D | ClangFormatFuzzer.cpp | 22 Style.ColumnLimit = 60; in LLVMFuzzerTestOneInput()
|
/external/jsoncpp/ |
D | .clang-format | 16 ColumnLimit: 80
|
/external/parameter-framework/upstream/ |
D | .clang-format | 72 ColumnLimit: '100'
|
/external/clang/docs/ |
D | ClangFormatStyleOptions.rst | 66 ColumnLimit: 100 380 **ColumnLimit** (``unsigned``) 738 ColumnLimit: 0
|