Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp954 IO.mapOptional("BraceWrapping", Style.BraceWrapping); in mapping()
1283 Expanded.BraceWrapping = {/*AfterCaseLabel=*/false, in expandPresetsBraceWrapping()
1303 Expanded.BraceWrapping.AfterClass = true; in expandPresetsBraceWrapping()
1304 Expanded.BraceWrapping.AfterFunction = true; in expandPresetsBraceWrapping()
1305 Expanded.BraceWrapping.AfterNamespace = true; in expandPresetsBraceWrapping()
1308 Expanded.BraceWrapping.AfterClass = true; in expandPresetsBraceWrapping()
1309 Expanded.BraceWrapping.AfterEnum = true; in expandPresetsBraceWrapping()
1310 Expanded.BraceWrapping.AfterFunction = true; in expandPresetsBraceWrapping()
1311 Expanded.BraceWrapping.AfterStruct = true; in expandPresetsBraceWrapping()
1312 Expanded.BraceWrapping.AfterUnion = true; in expandPresetsBraceWrapping()
[all …]
H A DUnwrappedLineFormatter.cpp276 !Style.BraceWrapping.SplitEmptyFunction && in tryFitMultipleLinesInOne()
292 return !Style.BraceWrapping.SplitEmptyNamespace && EmptyBlock in tryFitMultipleLinesInOne()
301 return !Style.BraceWrapping.SplitEmptyRecord && EmptyBlock in tryFitMultipleLinesInOne()
307 Style.BraceWrapping.SplitEmptyRecord && EmptyBlock) { in tryFitMultipleLinesInOne()
438 Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()
451 return (Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()
457 Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()
496 if (PreviousLine && Style.BraceWrapping.SplitEmptyRecord && in tryFitMultipleLinesInOne()
534 ShouldMerge = !Style.BraceWrapping.AfterClass || in tryFitMultipleLinesInOne()
536 !Style.BraceWrapping.SplitEmptyRecord); in tryFitMultipleLinesInOne()
[all …]
H A DUnwrappedLineParser.cpp140 Style.BraceWrapping.AfterControlStatement, in CompoundStatementIndenter()
141 Style.BraceWrapping.IndentBraces) {} in CompoundStatementIndenter()
967 return Style.BraceWrapping.AfterNamespace; in ShouldBreakBeforeBrace()
969 return Style.BraceWrapping.AfterClass; in ShouldBreakBeforeBrace()
971 return Style.BraceWrapping.AfterUnion; in ShouldBreakBeforeBrace()
973 return Style.BraceWrapping.AfterStruct; in ShouldBreakBeforeBrace()
975 return Style.BraceWrapping.AfterEnum; in ShouldBreakBeforeBrace()
1591 if (Style.BraceWrapping.AfterExternBlock) in parseStructuralElement()
1597 (Style.BraceWrapping.AfterExternBlock && in parseStructuralElement()
1743 if (Style.BraceWrapping in parseStructuralElement()
[all...]
H A DContinuationIndenter.cpp350 (!Style.BraceWrapping.BeforeLambdaBody || in canBreak()
375 if (Style.BraceWrapping.BeforeLambdaBody && Current.CanBreakBefore && in mustBreak()
1154 (!Style.BraceWrapping.BeforeLambdaBody || in addTokenOnNewLine()
1492 return Style.BraceWrapping.BeforeLambdaBody && Current.is(TT_LambdaLSquare); in hasNestedBlockInlined()
1949 if (Style.BraceWrapping.BeforeLambdaBody && Current.Next && in moveStatePastScopeOpener()
2036 bool NoLineBreak = Style.BraceWrapping.BeforeLambdaBody && !NewLine && in moveStateToNewBlock()
H A DTokenAnnotator.cpp5480 Style.BraceWrapping.AfterFunction) { in mustBreakBefore()
5768 if (Style.BraceWrapping.AfterEnum) { in mustBreakBefore()
5781 if (Style.BraceWrapping.AfterClass && in mustBreakBefore()
5791 Style.BraceWrapping.AfterClass) || in mustBreakBefore()
5793 Style.BraceWrapping.AfterStruct); in mustBreakBefore()
5822 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace) && in mustBreakBefore()
6284 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace)) { in canBreakBefore()
/freebsd/contrib/libcbor/
H A D.clang-format23 BraceWrapping:
/freebsd/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h1551 BraceWrappingFlags BraceWrapping; member