Home
last modified time | relevance | path

Searched refs:TabWidth (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Format/
DBreakableToken.cpp45 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()
222 ColumnLimit, Style.TabWidth, Encoding); in getSplit()
360 encoding::columnWidthWithTabs(Whitespace, 0, Style.TabWidth, Encoding) + in adjustWhitespace()
371 ContentStartColumn, Style.TabWidth, in getLineLengthAfterSplit()
382 ColumnLimit, Style.TabWidth, Encoding); in getSplit()
DEncoding.h81 unsigned TabWidth, Encoding Encoding) { in columnWidthWithTabs() argument
89 TotalWidth += TabWidth - (TotalWidth + StartColumn) % TabWidth; in columnWidthWithTabs()
DWhitespaceManager.cpp516 Style.TabWidth - WhitespaceStartColumn % Style.TabWidth; in appendIndentText()
518 if (FirstTabWidth + Style.TabWidth <= Spaces) { in appendIndentText()
522 Text.append(Spaces / Style.TabWidth, '\t'); in appendIndentText()
523 Text.append(Spaces % Style.TabWidth, ' '); in appendIndentText()
533 unsigned Tabs = Indentation / Style.TabWidth; in appendIndentText()
535 Spaces -= Tabs * Style.TabWidth; in appendIndentText()
DFormat.cpp332 IO.mapOptional("TabWidth", Style.TabWidth); in mapping()
509 LLVMStyle.TabWidth = 8; in getLLVMStyle()
1083 String->TokenText, String->OriginalColumn, Style.TabWidth, Encoding); in tryMerge_TMacro()
1229 Column += Style.TabWidth - Column % Style.TabWidth; in getNextToken()
1303 encoding::columnWidthWithTabs(Text, Column, Style.TabWidth, Encoding); in getNextToken()
1310 Text.substr(0, FirstNewlinePos), Column, Style.TabWidth, Encoding); in getNextToken()
1315 Text.substr(Text.find_last_of('\n') + 1), 0, Style.TabWidth, in getNextToken()
/external/clang/include/clang/Format/
DFormat.h573 unsigned TabWidth; member
663 Standard == R.Standard && TabWidth == R.TabWidth &&
/external/jsoncpp/
D.clang-format35 TabWidth: 8
/external/clang/unittests/Format/
DFormatTest.cpp8210 Tab.TabWidth = 4; in TEST_F()
8220 Tab.TabWidth = 4; in TEST_F()
8230 Tab.TabWidth = 8; in TEST_F()
8240 Tab.TabWidth = 8; in TEST_F()
10005 Style.TabWidth = 345; in TEST_F()
10022 EXPECT_EQ(789u, Style.TabWidth); in TEST_F()
/external/clang/docs/
DClangFormatStyleOptions.rst646 **TabWidth** (``unsigned``)