Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp1026 IO.mapOptional("BraceWrapping", Style.BraceWrapping); in mapping()
1374 Expanded.BraceWrapping = {/*AfterCaseLabel=*/false, in expandPresetsBraceWrapping()
1394 Expanded.BraceWrapping.AfterClass = true; in expandPresetsBraceWrapping()
1395 Expanded.BraceWrapping.AfterFunction = true; in expandPresetsBraceWrapping()
1396 Expanded.BraceWrapping.AfterNamespace = true; in expandPresetsBraceWrapping()
1399 Expanded.BraceWrapping.AfterClass = true; in expandPresetsBraceWrapping()
1400 Expanded.BraceWrapping.AfterEnum = true; in expandPresetsBraceWrapping()
1401 Expanded.BraceWrapping.AfterFunction = true; in expandPresetsBraceWrapping()
1402 Expanded.BraceWrapping.AfterStruct = true; in expandPresetsBraceWrapping()
1403 Expanded.BraceWrapping.AfterUnion = true; in expandPresetsBraceWrapping()
[all …]
H A DUnwrappedLineFormatter.cpp255 !Style.BraceWrapping.SplitEmptyFunction && in tryFitMultipleLinesInOne()
271 return !Style.BraceWrapping.SplitEmptyNamespace && EmptyBlock in tryFitMultipleLinesInOne()
280 return !Style.BraceWrapping.SplitEmptyRecord && EmptyBlock in tryFitMultipleLinesInOne()
286 Style.BraceWrapping.SplitEmptyRecord && EmptyBlock) { in tryFitMultipleLinesInOne()
430 return Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()
458 if (PreviousLine && Style.BraceWrapping.SplitEmptyRecord && in tryFitMultipleLinesInOne()
496 ShouldMerge = !Style.BraceWrapping.AfterClass || in tryFitMultipleLinesInOne()
498 !Style.BraceWrapping.SplitEmptyRecord); in tryFitMultipleLinesInOne()
504 ShouldMerge = !Style.BraceWrapping.AfterFunction || in tryFitMultipleLinesInOne()
506 !Style.BraceWrapping.SplitEmptyFunction); in tryFitMultipleLinesInOne()
[all …]
H A DUnwrappedLineParser.cpp136 Style.BraceWrapping.AfterControlStatement == in CompoundStatementIndenter()
138 Style.BraceWrapping.IndentBraces) {} in CompoundStatementIndenter()
962 return Style.BraceWrapping.AfterNamespace; in ShouldBreakBeforeBrace()
964 return Style.BraceWrapping.AfterClass; in ShouldBreakBeforeBrace()
966 return Style.BraceWrapping.AfterUnion; in ShouldBreakBeforeBrace()
968 return Style.BraceWrapping.AfterStruct; in ShouldBreakBeforeBrace()
970 return Style.BraceWrapping.AfterEnum; in ShouldBreakBeforeBrace()
1600 if (Style.BraceWrapping.AfterExternBlock) in parseStructuralElement()
1606 (Style.BraceWrapping.AfterExternBlock && in parseStructuralElement()
1764 if (Style.BraceWrapping.AfterControlStatement == in parseStructuralElement()
[all …]
H A DContinuationIndenter.cpp375 (!Style.BraceWrapping.BeforeLambdaBody || in canBreak()
400 if (Style.BraceWrapping.BeforeLambdaBody && Current.CanBreakBefore && in mustBreak()
1249 (!Style.BraceWrapping.BeforeLambdaBody || in addTokenOnNewLine()
1350 if (Style.BraceWrapping.BeforeLambdaBody && in getNewLineColumn()
1351 Style.BraceWrapping.IndentBraces && Current.is(TT_LambdaLBrace)) { in getNewLineColumn()
1608 return Style.BraceWrapping.BeforeLambdaBody && Current.is(TT_LambdaLSquare); in hasNestedBlockInlined()
2067 if (Style.BraceWrapping.BeforeLambdaBody && Current.Next && in moveStatePastScopeOpener()
2140 const auto Indent = Style.IndentWidth * Style.BraceWrapping.IndentBraces; in moveStateToNewBlock()
2155 bool NoLineBreak = Style.BraceWrapping.BeforeLambdaBody && !NewLine && in moveStateToNewBlock()
H A DTokenAnnotator.cpp4158 Style.BraceWrapping.AfterControlStatement == in calculateFormattingInformation()
5626 Style.BraceWrapping.AfterFunction) { in mustBreakBefore()
5916 if (Style.BraceWrapping.AfterEnum) { in mustBreakBefore()
5929 if (Style.BraceWrapping.AfterClass && in mustBreakBefore()
5939 Style.BraceWrapping.AfterClass) || in mustBreakBefore()
5941 Style.BraceWrapping.AfterStruct); in mustBreakBefore()
5970 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace) && in mustBreakBefore()
6440 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace)) { in canBreakBefore()
/freebsd/contrib/libucl/
H A D.clang-format19 BraceWrapping:
/freebsd/contrib/libcbor/
H A D.clang-format23 BraceWrapping:
/freebsd/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h1603 BraceWrappingFlags BraceWrapping; member