[clang] [clang-format][NFC] Clean up signatures of some parser functions (PR #66569)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 16 16:09:15 PDT 2023


================
@@ -370,9 +364,9 @@ bool UnwrappedLineParser::parseLevel(const FormatToken *OpeningBrace,
     else if (FormatTok->getType() == TT_MacroBlockEnd)
       kind = tok::r_brace;
 
-    auto ParseDefault = [this, OpeningBrace, NextLevelLBracesType, IfKind,
+    auto ParseDefault = [this, OpeningBrace, InRequiresExpression, IfKind,
                          &IfLBrace, &HasDoWhile, &HasLabel, &StatementCount] {
-      parseStructuralElement(!OpeningBrace, NextLevelLBracesType, IfKind,
+      parseStructuralElement(OpeningBrace, InRequiresExpression, IfKind,
----------------
owenca wrote:

Nope!

https://github.com/llvm/llvm-project/pull/66569


More information about the cfe-commits mailing list