Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.h130 bool KeepBraces = true, IfStmtKind *IfKind = nullptr,
156 FormatToken *parseIfThenElse(IfStmtKind *IfKind, bool KeepBraces = false,
159 void parseLoopBody(bool KeepBraces, bool WrapRightBrace);
H A DUnwrappedLineParser.cpp743 bool KeepBraces, in parseBlock() argument
843 if (KeepBraces && !HasRequiredIfBraces) in parseBlock()
2876 bool KeepBraces, in parseIfThenElse() argument
2913 KeepIfBraces = !Style.RemoveBracesLLVM || KeepBraces; in parseIfThenElse()
3256 void UnwrappedLineParser::parseLoopBody(bool KeepBraces, bool WrapRightBrace) { in parseLoopBody() argument
3264 /*MunchSemi=*/true, KeepBraces); in parseLoopBody()
3266 if (!KeepBraces) { in parseLoopBody()
3277 if (!KeepBraces) in parseLoopBody()
3290 const bool KeepBraces = !Style.RemoveBracesLLVM || in parseForOrWhileLoop() local
3319 parseLoopBody(KeepBraces, /*WrapRightBrace=*/true); in parseForOrWhileLoop()