Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DContinuationIndenter.cpp457 (NewLineColumn == State.FirstIndent + Style.ContinuationIndentWidth || in mustBreak()
690 State.FirstIndent + Style.ContinuationIndentWidth, CurrentState.Indent); in addTokenOnCurrentLine()
914 State.FirstIndent + Style.ContinuationIndentWidth) in addTokenOnNewLine()
937 Style.ContinuationIndentWidth; in addTokenOnNewLine()
1080 Style.ContinuationIndentWidth; in getNewLineColumn()
1090 CurrentState.Indent + Style.ContinuationIndentWidth); in getNewLineColumn()
1174 Indent -= Style.ContinuationIndentWidth; in getNewLineColumn()
1291 return CurrentState.Indent + Style.ContinuationIndentWidth; in getNewLineColumn()
1559 NewParenState.Indent += Style.ContinuationIndentWidth; in moveStatePastFakeLParens()
1617 NewIndent = CurrentState.LastSpace + Style.ContinuationIndentWidth; in moveStatePastScopeOpener()
[all …]
H A DFormat.cpp747 IO.mapOptional("ContinuationIndentWidth", Style.ContinuationIndentWidth); in mapping()
1241 LLVMStyle.ContinuationIndentWidth = 4; in getLLVMStyle()
1525 ChromiumStyle.ContinuationIndentWidth = 8; in getChromiumStyle()
1572 MozillaStyle.ContinuationIndentWidth = 2; in getMozillaStyle()
H A DBreakableToken.cpp595 return Style.ContinuationIndentWidth; in getContentIndent()
H A DUnwrappedLineFormatter.cpp73 Indent = Line.Level * Style.IndentWidth + Style.ContinuationIndentWidth; in nextLine()
/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h1905 unsigned ContinuationIndentWidth; member
3893 ContinuationIndentWidth == R.ContinuationIndentWidth &&
/llvm-project-15.0.7/clang/unittests/Format/
H A DFormatTestObjC.cpp962 Style.ContinuationIndentWidth = 8; in TEST_F()
981 Style.ContinuationIndentWidth = 4; in TEST_F()
H A DFormatTest.cpp14231 EightIndent.ContinuationIndentWidth = 8; in TEST_F()
20146 CHECK_PARSE("ContinuationIndentWidth: 11", ContinuationIndentWidth, 11u); in TEST_F()
22551 TwoIndent.ContinuationIndentWidth = 2; in TEST_F()
22559 SixIndent.ContinuationIndentWidth = 6; in TEST_F()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst201 Don't align, instead use ``ContinuationIndentWidth``, e.g.:
813 The wrapped lines are indented ``ContinuationIndentWidth`` spaces from
1250 ``ContinuationIndentWidth`` spaces from the start of the line.
2390 **ContinuationIndentWidth** (``Unsigned``) :versionbadge:`clang-format 3.7`
2395 ContinuationIndentWidth: 2