Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DFormat.cpp564 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 …]
H A DUnwrappedLineFormatter.cpp231 !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 …]
H A DUnwrappedLineParser.cpp177 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 …]
H A DTokenAnnotator.cpp3659 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()
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()
/netbsd-src/external/bsd/pam-u2f/dist/
H A D.clang-format22 BraceWrapping:
/netbsd-src/external/mit/libcbor/dist/
H A D.clang-format23 BraceWrapping:
/netbsd-src/external/gpl3/gcc.old/dist/contrib/
H A Dclang-format33 BraceWrapping:
/netbsd-src/external/gpl3/gcc/dist/contrib/
H A Dclang-format33 BraceWrapping:
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Format/
H A DFormat.h1712 BraceWrappingFlags BraceWrapping; member
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DClangFormatStyleOptions.rst1108 **BraceWrapping** (``BraceWrappingFlags``)
1118 BraceWrapping:
1900 Configure each individual brace in `BraceWrapping`.
2493 BraceWrapping.AfterExternBlock: true
2503 BraceWrapping.AfterExternBlock: false