Searched refs:ColumnLimit (Results 1 – 14 of 14) sorted by relevance
/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() 218 unsigned ColumnLimit) const { in getSplit() 220 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 | ContinuationIndenter.cpp | 154 Style.ColumnLimit > 0 && in mustBreak() 159 Style.BreakConstructorInitializersBeforeComma || Style.ColumnLimit != 0)) in mustBreak() 221 if (Style.ColumnLimit != 0 && Previous.BlockKind == BK_Block && in mustBreak() 370 (State.Column <= Style.ColumnLimit / 3 || in addTokenOnNewLine() 847 if (Current.Type == TT_ObjCMethodExpr && Style.ColumnLimit != 0 && in moveStatePastScopeOpener() 952 unsigned ColumnLimit = getColumnLimit(State); in breakProtrudingToken() local 1008 ColumnLimit = Style.ColumnLimit; in breakProtrudingToken() 1012 if (Current.UnbreakableTailLength >= ColumnLimit) in breakProtrudingToken() 1015 unsigned RemainingSpace = ColumnLimit - Current.UnbreakableTailLength; in breakProtrudingToken() 1028 Token->getSplit(LineIndex, TailOffset, ColumnLimit); in breakProtrudingToken() [all …]
|
D | FormatToken.cpp | 75 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken() 193 for (unsigned Columns = 1; Columns <= Style.ColumnLimit / 3; ++Columns) { in precomputeFormattingInfos() 223 if (Format.TotalWidth > Style.ColumnLimit) in precomputeFormattingInfos()
|
D | Format.cpp | 187 IO.mapOptional("ColumnLimit", Style.ColumnLimit); in mapping() 321 LLVMStyle.ColumnLimit = 80; in getLLVMStyle() 435 Style.ColumnLimit = 0; in getWebKitStyle() 450 Style.ColumnLimit = 79; in getGNUStyle() 580 if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit) in tryFitMultipleLinesInOne() 584 Style.ColumnLimit == 0 ? UINT_MAX : Style.ColumnLimit - Indent; in tryFitMultipleLinesInOne() 613 if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(TheLine))) in tryFitMultipleLinesInOne() 837 if (MergedLines > 0 && Style.ColumnLimit == 0) { in format() 873 unsigned ColumnLimit = Style.ColumnLimit; in format() local 877 ColumnLimit = getColumnLimit(TheLine.InPPDirective); in format() [all …]
|
D | WhitespaceManager.cpp | 156 unsigned ChangeMaxColumn = Style.ColumnLimit - Changes[i].TokenLength; in alignTrailingComments() 231 Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; in alignEscapedNewlines() 240 MaxEndOfLine = Style.AlignEscapedNewlinesLeft ? 0 : Style.ColumnLimit; in alignEscapedNewlines()
|
D | TokenAnnotator.cpp | 1247 Line.First->IsMultiline ? Style.ColumnLimit : Line.First->ColumnWidth; in calculateFormattingInformation() 1295 ChildSize = LastOfChild.isTrailingComment() ? Style.ColumnLimit in calculateFormattingInformation() 1300 Current->TotalLength = Current->Previous->TotalLength + Style.ColumnLimit; in calculateFormattingInformation()
|
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 44 FormatStyle getLLVMStyleWithColumns(unsigned ColumnLimit) { in getLLVMStyleWithColumns() argument 46 Style.ColumnLimit = ColumnLimit; in getLLVMStyleWithColumns() 50 FormatStyle getGoogleStyleWithColumns(unsigned ColumnLimit) { in getGoogleStyleWithColumns() argument 52 Style.ColumnLimit = ColumnLimit; in getGoogleStyleWithColumns() 325 AllowsMergedIf.ColumnLimit = 14; in TEST_F() 331 AllowsMergedIf.ColumnLimit = 13; in TEST_F() 2877 Style.ColumnLimit = 45; in TEST_F() 3163 Style.ColumnLimit = 60; in TEST_F() 3449 Style.ColumnLimit = 47; in TEST_F() 3969 Style.ColumnLimit = 70; in TEST_F() [all …]
|
D | FormatTestJS.cpp | 40 static FormatStyle getGoogleJSStyleWithColumns(unsigned ColumnLimit) { in getGoogleJSStyleWithColumns() argument 42 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 | 65 unsigned ColumnLimit; member 383 ColumnLimit == R.ColumnLimit &&
|
/external/llvm/test/ |
D | .clang-format | 2 ColumnLimit: 0
|
/external/clang/test/ |
D | .clang-format | 2 ColumnLimit: 0
|
/external/clang/docs/ |
D | ClangFormatStyleOptions.rst | 177 **ColumnLimit** (``unsigned``) 464 ColumnLimit: 0
|