Searched refs:TabWidth (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Format/ |
D | BreakableToken.cpp | 45 unsigned TabWidth, in getCommentSplit() argument 59 ContentStartColumn, TabWidth, Encoding); in getCommentSplit() 87 unsigned TabWidth, encoding::Encoding Encoding) { in getStringSplit() argument 106 Text.substr(0, Advance), UsedColumns + Chars, TabWidth, Encoding); in getStringSplit() 141 Style.TabWidth, Encoding); in getLineLengthAfterSplit() 167 ColumnLimit, Style.TabWidth, Encoding); in getSplit() 220 ColumnLimit, Style.TabWidth, Encoding); in getSplit() 352 encoding::columnWidthWithTabs(Whitespace, 0, Style.TabWidth, Encoding) + in adjustWhitespace() 363 ContentStartColumn, Style.TabWidth, in getLineLengthAfterSplit() 374 ColumnLimit, Style.TabWidth, Encoding); in getSplit()
|
D | Encoding.h | 81 unsigned TabWidth, Encoding Encoding) { in columnWidthWithTabs() argument 89 TotalWidth += TabWidth - (TotalWidth + StartColumn) % TabWidth; in columnWidthWithTabs()
|
D | WhitespaceManager.cpp | 321 Style.TabWidth - WhitespaceStartColumn % Style.TabWidth; in appendIndentText() 323 if (FirstTabWidth + Style.TabWidth <= Spaces) { in appendIndentText() 327 Text.append(std::string(Spaces / Style.TabWidth, '\t')); in appendIndentText() 328 Text.append(std::string(Spaces % Style.TabWidth, ' ')); in appendIndentText() 338 unsigned Tabs = Indentation / Style.TabWidth; in appendIndentText() 340 Spaces -= Tabs * Style.TabWidth; in appendIndentText()
|
D | Format.cpp | 220 IO.mapOptional("TabWidth", Style.TabWidth); in mapping() 335 LLVMStyle.TabWidth = 8; in getLLVMStyle() 1424 String->TokenText, String->OriginalColumn, Style.TabWidth, Encoding); in tryMerge_TMacro() 1544 Column += Style.TabWidth - Column % Style.TabWidth; in getNextToken() 1607 encoding::columnWidthWithTabs(Text, Column, Style.TabWidth, Encoding); in getNextToken() 1614 Text.substr(0, FirstNewlinePos), Column, Style.TabWidth, Encoding); in getNextToken() 1619 Text.substr(Text.find_last_of('\n') + 1), 0, Style.TabWidth, in getNextToken()
|
/external/clang/include/clang/Format/ |
D | Format.h | 232 unsigned TabWidth; member 406 Standard == R.Standard && TabWidth == R.TabWidth &&
|
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 7268 Tab.TabWidth = 4; in TEST_F() 7278 Tab.TabWidth = 4; in TEST_F() 7288 Tab.TabWidth = 8; in TEST_F() 7298 Tab.TabWidth = 8; in TEST_F() 8292 Style.TabWidth = 345; in TEST_F() 8309 EXPECT_EQ(789u, Style.TabWidth); in TEST_F()
|
/external/clang/docs/ |
D | ClangFormatStyleOptions.rst | 392 **TabWidth** (``unsigned``)
|