Home
last modified time | relevance | path

Searched refs:AddLevels (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineParser.cpp853 if (AddLevels > 0 && Style.BreakBeforeBraces == FormatStyle::BS_Whitesmiths) in parseBlock()
859 nextToken(/*LevelDifference=*/AddLevels); in parseBlock()
886 Line->Level += AddLevels; in parseBlock()
940 nextToken(/*LevelDifference=*/-AddLevels); in parseBlock()
1562 unsigned AddLevels = in parseStructuralElement() local
1569 parseBlock(/*MustBeDeclaration=*/true, AddLevels); in parseStructuralElement()
2827 unsigned AddLevels = in parseNamespace() local
2834 AddLevels == 0u && in parseNamespace()
2842 parseBlock(/*MustBeDeclaration=*/true, AddLevels, /*MunchSemi=*/true, in parseNamespace()
2851 addUnwrappedLine(AddLevels > 0 ? LineLevel::Remove : LineLevel::Keep); in parseNamespace()
[all …]
H A DUnwrappedLineParser.h104 unsigned AddLevels = 1u, bool MunchSemi = true,