Home
last modified time | relevance | path

Searched refs:BreakBeforeBraces (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineParser.cpp160 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman) { in CompoundStatementIndenter()
162 } else if (Style.BreakBeforeBraces == FormatStyle::BS_GNU) { in CompoundStatementIndenter()
757 if (Style.BreakBeforeBraces != FormatStyle::BS_Attach) in parseStructuralElement()
1070 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman || in parseIfThenElse()
1071 Style.BreakBeforeBraces == FormatStyle::BS_GNU) { in parseIfThenElse()
1121 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman || in parseTryCatch()
1122 Style.BreakBeforeBraces == FormatStyle::BS_GNU || in parseTryCatch()
1123 Style.BreakBeforeBraces == FormatStyle::BS_Stroustrup) { in parseTryCatch()
1154 if (Style.BreakBeforeBraces == FormatStyle::BS_Allman || in parseTryCatch()
1155 Style.BreakBeforeBraces == FormatStyle::BS_GNU || in parseTryCatch()
[all …]
DFormat.cpp222 IO.mapOptional("BreakBeforeBraces", Style.BreakBeforeBraces); in mapping()
319 LLVMStyle.BreakBeforeBraces = FormatStyle::BS_Attach; in getLLVMStyle()
432 Style.BreakBeforeBraces = FormatStyle::BS_Stroustrup; in getWebKitStyle()
447 Style.BreakBeforeBraces = FormatStyle::BS_GNU; in getGNUStyle()
606 return Style.BreakBeforeBraces == FormatStyle::BS_Attach in tryFitMultipleLinesInOne()
611 Style.BreakBeforeBraces != FormatStyle::BS_Attach) { in tryFitMultipleLinesInOne()
665 if ((Style.BreakBeforeBraces == FormatStyle::BS_Allman || in tryMergeSimpleControlStatement()
666 Style.BreakBeforeBraces == FormatStyle::BS_GNU) && in tryMergeSimpleControlStatement()
DTokenAnnotator.cpp1682 return Style.BreakBeforeBraces == FormatStyle::BS_Allman || in mustBreakBefore()
1683 Style.BreakBeforeBraces == FormatStyle::BS_GNU; in mustBreakBefore()
/external/clang/include/clang/Format/
DFormat.h283 BraceBreakingStyle BreakBeforeBraces; member
380 BreakBeforeBraces == R.BreakBeforeBraces &&
/external/clang/unittests/Format/
DFormatTest.cpp2113 Style.BreakBeforeBraces = FormatStyle::BS_Attach; in TEST_F()
2120 Style.BreakBeforeBraces = FormatStyle::BS_Stroustrup; in TEST_F()
2128 Style.BreakBeforeBraces = FormatStyle::BS_Allman; in TEST_F()
2138 Style.BreakBeforeBraces = FormatStyle::BS_GNU; in TEST_F()
3494 Style.BreakBeforeBraces = FormatStyle::BS_Allman; in TEST_F()
7623 BreakBeforeBrace.BreakBeforeBraces = FormatStyle::BS_Linux; in TEST_F()
7643 BreakBeforeBrace.BreakBeforeBraces = FormatStyle::BS_Stroustrup; in TEST_F()
7691 BreakBeforeBrace.BreakBeforeBraces = FormatStyle::BS_Allman; in TEST_F()
7868 GNUBraceStyle.BreakBeforeBraces = FormatStyle::BS_GNU; in TEST_F()
8202 Style.BreakBeforeBraces = FormatStyle::BS_Stroustrup; in TEST_F()
[all …]
/external/clang/docs/
DClangFormatStyleOptions.rst150 **BreakBeforeBraces** (``BraceBreakingStyle``)
422 BreakBeforeBraces: Linux
461 BreakBeforeBraces: Allman