Searched refs:BraceWrapping (Results 1 – 8 of 8) sorted by relevance
/external/clang/lib/Format/ |
D | Format.cpp | 269 IO.mapOptional("BraceWrapping", Style.BraceWrapping); in mapping() 419 Expanded.BraceWrapping = {false, false, false, false, false, false, in expandPresets() 423 Expanded.BraceWrapping.AfterClass = true; in expandPresets() 424 Expanded.BraceWrapping.AfterFunction = true; in expandPresets() 425 Expanded.BraceWrapping.AfterNamespace = true; in expandPresets() 428 Expanded.BraceWrapping.AfterClass = true; in expandPresets() 429 Expanded.BraceWrapping.AfterEnum = true; in expandPresets() 430 Expanded.BraceWrapping.AfterFunction = true; in expandPresets() 431 Expanded.BraceWrapping.AfterStruct = true; in expandPresets() 432 Expanded.BraceWrapping.AfterUnion = true; in expandPresets() [all …]
|
D | UnwrappedLineParser.cpp | 157 if (Style.BraceWrapping.AfterControlStatement) in CompoundStatementIndenter() 159 if (Style.BraceWrapping.IndentBraces) in CompoundStatementIndenter() 460 return Style.BraceWrapping.AfterNamespace; in ShouldBreakBeforeBrace() 462 return Style.BraceWrapping.AfterClass; in ShouldBreakBeforeBrace() 464 return Style.BraceWrapping.AfterUnion; in ShouldBreakBeforeBrace() 466 return Style.BraceWrapping.AfterStruct; in ShouldBreakBeforeBrace() 682 if (Style.BraceWrapping.AfterObjCDeclaration) in parseStructuralElement() 882 if (Style.BraceWrapping.AfterFunction) in parseStructuralElement() 1270 if (Style.BraceWrapping.BeforeElse) in parseIfThenElse() 1321 if (Style.BraceWrapping.BeforeCatch) { in parseTryCatch() [all …]
|
D | UnwrappedLineFormatter.cpp | 202 return !Style.BraceWrapping.AfterFunction in tryFitMultipleLinesInOne() 207 Style.BraceWrapping.AfterFunction) { in tryFitMultipleLinesInOne() 266 if (Style.BraceWrapping.AfterControlStatement && in tryMergeSimpleControlStatement()
|
D | TokenAnnotator.cpp | 2213 return (Line.startsWith(tok::kw_enum) && Style.BraceWrapping.AfterEnum) || in mustBreakBefore() 2214 (Line.startsWith(tok::kw_class) && Style.BraceWrapping.AfterClass) || in mustBreakBefore() 2215 (Line.startsWith(tok::kw_struct) && Style.BraceWrapping.AfterStruct); in mustBreakBefore()
|
/external/parameter-framework/upstream/ |
D | .clang-format | 54 # Configure each individual brace in BraceWrapping 58 BraceWrapping: {
|
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 2412 Style.BraceWrapping.BeforeCatch = true; in TEST_F() 9752 CHECK_PARSE_NESTED_BOOL(BraceWrapping, AfterClass); in TEST_F() 9753 CHECK_PARSE_NESTED_BOOL(BraceWrapping, AfterControlStatement); in TEST_F() 9754 CHECK_PARSE_NESTED_BOOL(BraceWrapping, AfterEnum); in TEST_F() 9755 CHECK_PARSE_NESTED_BOOL(BraceWrapping, AfterFunction); in TEST_F() 9756 CHECK_PARSE_NESTED_BOOL(BraceWrapping, AfterNamespace); in TEST_F() 9757 CHECK_PARSE_NESTED_BOOL(BraceWrapping, AfterObjCDeclaration); in TEST_F() 9758 CHECK_PARSE_NESTED_BOOL(BraceWrapping, AfterStruct); in TEST_F() 9759 CHECK_PARSE_NESTED_BOOL(BraceWrapping, AfterUnion); in TEST_F() 9760 CHECK_PARSE_NESTED_BOOL(BraceWrapping, BeforeCatch); in TEST_F() [all …]
|
/external/clang/include/clang/Format/ |
D | Format.h | 276 BraceWrappingFlags BraceWrapping; member
|
/external/clang/docs/ |
D | ClangFormatStyleOptions.rst | 309 **BraceWrapping** (``BraceWrappingFlags``) 370 Configure each individual brace in ``BraceWrapping``.
|