Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp900 Expanded.BraceWrapping.AfterEnum = true; in expandPresets()
918 Expanded.BraceWrapping.AfterEnum = true; in expandPresets()
934 Expanded.BraceWrapping.AfterEnum = true; in expandPresets()
946 Expanded.BraceWrapping = { in expandPresets()
1415 Style.BraceWrapping.AfterClass = true; in getMicrosoftStyle()
1417 Style.BraceWrapping.AfterEnum = true; in getMicrosoftStyle()
1418 Style.BraceWrapping.AfterFunction = true; in getMicrosoftStyle()
1421 Style.BraceWrapping.AfterStruct = true; in getMicrosoftStyle()
1424 Style.BraceWrapping.BeforeCatch = true; in getMicrosoftStyle()
1425 Style.BraceWrapping.BeforeElse = true; in getMicrosoftStyle()
[all …]
H A DUnwrappedLineFormatter.cpp233 !Style.BraceWrapping.SplitEmptyFunction && in tryFitMultipleLinesInOne()
328 Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()
373 if (Style.BraceWrapping.SplitEmptyRecord && in tryFitMultipleLinesInOne()
396 return !Style.BraceWrapping.AfterFunction || in tryFitMultipleLinesInOne()
404 Style.BraceWrapping.AfterFunction) { in tryFitMultipleLinesInOne()
476 if (Style.BraceWrapping.AfterControlStatement == in tryMergeSimpleControlStatement()
590 !Style.BraceWrapping.AfterControlStatement && in tryMergeSimpleBlock()
595 Style.BraceWrapping.AfterControlStatement == in tryMergeSimpleBlock()
601 !Style.BraceWrapping.AfterControlStatement && in tryMergeSimpleBlock()
606 Style.BraceWrapping.AfterControlStatement == in tryMergeSimpleBlock()
[all …]
H A DUnwrappedLineParser.cpp704 return Style.BraceWrapping.AfterClass; in ShouldBreakBeforeBrace()
706 return Style.BraceWrapping.AfterUnion; in ShouldBreakBeforeBrace()
708 return Style.BraceWrapping.AfterStruct; in ShouldBreakBeforeBrace()
1442 if (Style.BraceWrapping.AfterFunction) in parseStructuralElement()
2072 if (Style.BraceWrapping.BeforeElse) in parseIfThenElse()
2152 if (Style.BraceWrapping.BeforeCatch) { in parseTryCatch()
2190 if (Style.BraceWrapping.BeforeCatch) in parseTryCatch()
2318 if (Style.BraceWrapping.BeforeWhile) in parseDoWhile()
2447 if (Style.BraceWrapping.AfterFunction) in parseRequiresExpression()
2484 if (Style.BraceWrapping.AfterFunction) in parseConstraintExpression()
[all …]
H A DTokenAnnotator.cpp3789 return (Line.startsWith(tok::kw_enum) && Style.BraceWrapping.AfterEnum) || in mustBreakBefore()
3791 Style.BraceWrapping.AfterEnum) || in mustBreakBefore()
3792 (Line.startsWith(tok::kw_class) && Style.BraceWrapping.AfterClass) || in mustBreakBefore()
3793 (Line.startsWith(tok::kw_struct) && Style.BraceWrapping.AfterStruct); in mustBreakBefore()
3810 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace) && in mustBreakBefore()
4219 if (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace)) { in canBreakBefore()
H A DContinuationIndenter.cpp332 if (Style.BraceWrapping.BeforeLambdaBody && Current.CanBreakBefore && in mustBreak()
1171 return (Style.BraceWrapping.BeforeLambdaBody && Current.is(TT_LambdaLSquare)); in hasNestedBlockInlined()
1555 if (Style.BraceWrapping.BeforeLambdaBody && Current.Next != nullptr && in moveStatePastScopeOpener()
/freebsd-13.1/contrib/libcbor/
H A D.clang-format23 BraceWrapping:
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Format/
H A DFormat.h1741 BraceWrappingFlags BraceWrapping; member