Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp1299 Expanded.BraceWrapping.AfterEnum = true; in expandPresetsBraceWrapping()
1316 Expanded.BraceWrapping.AfterEnum = true; in expandPresetsBraceWrapping()
1331 Expanded.BraceWrapping.AfterEnum = true; in expandPresetsBraceWrapping()
1342 Expanded.BraceWrapping = { in expandPresetsBraceWrapping()
1885 Style.BraceWrapping.AfterClass = true; in getMicrosoftStyle()
1887 Style.BraceWrapping.AfterEnum = true; in getMicrosoftStyle()
1888 Style.BraceWrapping.AfterFunction = true; in getMicrosoftStyle()
1891 Style.BraceWrapping.AfterStruct = true; in getMicrosoftStyle()
1893 Style.BraceWrapping.BeforeCatch = true; in getMicrosoftStyle()
1894 Style.BraceWrapping.BeforeElse = true; in getMicrosoftStyle()
[all …]
H A DUnwrappedLineFormatter.cpp277 !Style.BraceWrapping.SplitEmptyFunction && in tryFitMultipleLinesInOne()
439 Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()
458 Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()
529 ShouldMerge = !Style.BraceWrapping.AfterClass || in tryFitMultipleLinesInOne()
546 Style.BraceWrapping.AfterFunction) { in tryFitMultipleLinesInOne()
619 if (Style.BraceWrapping.AfterControlStatement == in tryMergeSimpleControlStatement()
762 !Style.BraceWrapping.AfterControlStatement && in tryMergeSimpleBlock()
768 Style.BraceWrapping.AfterControlStatement == in tryMergeSimpleBlock()
776 !Style.BraceWrapping.AfterControlStatement && in tryMergeSimpleBlock()
783 Style.BraceWrapping.AfterControlStatement == in tryMergeSimpleBlock()
[all …]
H A DUnwrappedLineParser.cpp956 return Style.BraceWrapping.AfterNamespace; in ShouldBreakBeforeBrace()
958 return Style.BraceWrapping.AfterClass; in ShouldBreakBeforeBrace()
960 return Style.BraceWrapping.AfterUnion; in ShouldBreakBeforeBrace()
962 return Style.BraceWrapping.AfterStruct; in ShouldBreakBeforeBrace()
964 return Style.BraceWrapping.AfterEnum; in ShouldBreakBeforeBrace()
1580 if (Style.BraceWrapping.AfterExternBlock) in parseStructuralElement()
1916 if (Style.BraceWrapping.AfterFunction) in parseStructuralElement()
2819 if (Style.BraceWrapping.BeforeElse) in parseIfThenElse()
2965 if (Style.BraceWrapping.BeforeCatch) in parseTryCatch()
3006 if (Style.BraceWrapping.BeforeCatch) in parseTryCatch()
[all …]
H A DContinuationIndenter.cpp342 (!Style.BraceWrapping.BeforeLambdaBody || in canBreak()
367 if (Style.BraceWrapping.BeforeLambdaBody && Current.CanBreakBefore && in mustBreak()
1144 (!Style.BraceWrapping.BeforeLambdaBody || in addTokenOnNewLine()
1469 return Style.BraceWrapping.BeforeLambdaBody && Current.is(TT_LambdaLSquare); in hasNestedBlockInlined()
1909 if (Style.BraceWrapping.BeforeLambdaBody && Current.Next && in moveStatePastScopeOpener()
H A DTokenAnnotator.cpp4988 Style.BraceWrapping.AfterFunction) { in mustBreakBefore()
5255 if (Style.BraceWrapping.AfterEnum) { in mustBreakBefore()
5268 if (Style.BraceWrapping.AfterClass && in mustBreakBefore()
5278 Style.BraceWrapping.AfterClass) || in mustBreakBefore()
5280 Style.BraceWrapping.AfterStruct); in mustBreakBefore()
5309 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace) && in mustBreakBefore()
5750 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace)) { in canBreakBefore()
/freebsd-14.2/contrib/libcbor/
H A D.clang-format23 BraceWrapping:
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h1443 BraceWrappingFlags BraceWrapping; member