Searched refs:BraceWrapping (Results 1 – 11 of 11) sorted by relevance
564 IO.mapOptional("BraceWrapping", Style.BraceWrapping); in mapping()835 Expanded.BraceWrapping = {/*AfterCaseLabel=*/false, in expandPresets()855 Expanded.BraceWrapping.AfterClass = true; in expandPresets()856 Expanded.BraceWrapping.AfterFunction = true; in expandPresets()857 Expanded.BraceWrapping.AfterNamespace = true; in expandPresets()860 Expanded.BraceWrapping.AfterClass = true; in expandPresets()861 Expanded.BraceWrapping.AfterEnum = true; in expandPresets()862 Expanded.BraceWrapping.AfterFunction = true; in expandPresets()863 Expanded.BraceWrapping.AfterStruct = true; in expandPresets()864 Expanded.BraceWrapping.AfterUnion = true; in expandPresets()[all …]
231 !Style.BraceWrapping.SplitEmptyFunction && in tryFitMultipleLinesInOne()245 return !Style.BraceWrapping.SplitEmptyNamespace && EmptyBlock in tryFitMultipleLinesInOne()253 return !Style.BraceWrapping.SplitEmptyRecord && EmptyBlock in tryFitMultipleLinesInOne()258 Style.BraceWrapping.SplitEmptyRecord && EmptyBlock) { in tryFitMultipleLinesInOne()326 Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()338 return (Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()344 Style.BraceWrapping.AfterControlStatement == in tryFitMultipleLinesInOne()371 if (Style.BraceWrapping.SplitEmptyRecord && in tryFitMultipleLinesInOne()394 return !Style.BraceWrapping.AfterFunction || in tryFitMultipleLinesInOne()396 !Style.BraceWrapping.SplitEmptyRecord) in tryFitMultipleLinesInOne()[all …]
177 Style.BraceWrapping.AfterControlStatement, in CompoundStatementIndenter()178 Style.BraceWrapping.IndentBraces) {} in CompoundStatementIndenter()702 return Style.BraceWrapping.AfterNamespace; in ShouldBreakBeforeBrace()704 return Style.BraceWrapping.AfterClass; in ShouldBreakBeforeBrace()706 return Style.BraceWrapping.AfterUnion; in ShouldBreakBeforeBrace()708 return Style.BraceWrapping.AfterStruct; in ShouldBreakBeforeBrace()1137 if (Style.BraceWrapping.AfterExternBlock) { in parseStructuralElement()1140 unsigned AddLevels = Style.BraceWrapping.AfterExternBlock ? 1u : 0u; in parseStructuralElement()1256 if (Style.BraceWrapping.AfterControlStatement == in parseStructuralElement()1269 if (Style.BraceWrapping.AfterControlStatement == in parseStructuralElement()[all …]
3659 if (Style.BraceWrapping.BeforeLambdaBody && in mustBreakBefore()3666 return (Line.startsWith(tok::kw_enum) && Style.BraceWrapping.AfterEnum) || in mustBreakBefore()3668 Style.BraceWrapping.AfterEnum) || in mustBreakBefore()3669 (Line.startsWith(tok::kw_class) && Style.BraceWrapping.AfterClass) || in mustBreakBefore()3670 (Line.startsWith(tok::kw_struct) && Style.BraceWrapping.AfterStruct); in mustBreakBefore()4090 if (Style.BraceWrapping.BeforeLambdaBody) { in canBreakBefore()4102 (Style.BraceWrapping.BeforeLambdaBody && Right.is(TT_LambdaLBrace)) || in canBreakBefore()
332 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()
22 BraceWrapping:
23 BraceWrapping:
33 BraceWrapping:
1712 BraceWrappingFlags BraceWrapping; member
1108 **BraceWrapping** (``BraceWrappingFlags``)1118 BraceWrapping:1900 Configure each individual brace in `BraceWrapping`.2493 BraceWrapping.AfterExternBlock: true2503 BraceWrapping.AfterExternBlock: false