Home
last modified time | relevance | path

Searched refs:IndentWidth (Results 1 – 7 of 7) sorted by relevance

/external/clang/include/clang/Format/
DFormat.h229 unsigned IndentWidth; member
391 IndentWidth == R.IndentWidth && Language == R.Language &&
/external/clang/unittests/Format/
DFormatTest.cpp7181 EightIndent.IndentWidth = 8; in TEST_F()
7209 Tab.IndentWidth = 8; in TEST_F()
7269 Tab.IndentWidth = 8; in TEST_F()
7279 Tab.IndentWidth = 4; in TEST_F()
7289 Tab.IndentWidth = 4; in TEST_F()
7299 Tab.IndentWidth = 8; in TEST_F()
8150 CHECK_PARSE("IndentWidth: 32", IndentWidth, 32u); in TEST_F()
8237 IndentWidth, 12u); in TEST_F()
8242 EXPECT_EQ(12u, Style.IndentWidth); in TEST_F()
8243 CHECK_PARSE("IndentWidth: 56", IndentWidth, 56u); in TEST_F()
[all …]
/external/clang/lib/Format/
DFormat.cpp219 IO.mapOptional("IndentWidth", Style.IndentWidth); in mapping()
334 LLVMStyle.IndentWidth = 2; in getLLVMStyle()
436 Style.IndentWidth = 4; in getWebKitStyle()
812 IndentForLevel.push_back(Style.IndentWidth * i + AdditionalIndent); in format()
824 Indent = TheLine.Level * Style.IndentWidth; in format()
1036 return getIndent(IndentForLevel, Level - 1) + Style.IndentWidth; in getIndent()
1209 State.FirstIndent - State.Line->Level * Style.IndentWidth; in formatChildren()
1213 Previous.Children[0]->Level * Style.IndentWidth; in formatChildren()
DWhitespaceManager.cpp333 unsigned Indentation = IndentLevel * Style.IndentWidth; in appendIndentText()
DContinuationIndenter.cpp822 NewIndent += Style.IndentWidth; in moveStatePastScopeOpener()
893 : Style.IndentWidth); in moveStateToNewBlock()
/external/clang/docs/
DClangFormatStyleOptions.rst251 **IndentWidth** (``unsigned``)
420 IndentWidth: 8
460 IndentWidth: 4
DClangFormat.rst64 -style="{BasedOnStyle: llvm, IndentWidth: 8}"