[clang] [clang-format][NFC] Apply review comments (PR #218142)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 22 09:13:40 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-format
Author: Björn Schäpers (HazardyKnusperkeks)
<details>
<summary>Changes</summary>
That were missed while merging #<!-- -->212856.
---
Full diff: https://github.com/llvm/llvm-project/pull/218142.diff
1 Files Affected:
- (modified) clang/lib/Format/UnwrappedLineParser.cpp (+2-2)
``````````diff
diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp
index da6465548bb3e..f5af9b03c58a9 100644
--- a/clang/lib/Format/UnwrappedLineParser.cpp
+++ b/clang/lib/Format/UnwrappedLineParser.cpp
@@ -2675,7 +2675,7 @@ bool UnwrappedLineParser::parseParens(TokenType StarAndAmpTokenType,
bool SeenComma = false;
bool SeenEqual = false;
bool MightBeFoldExpr = false;
- auto ExcessLess = 0;
+ unsigned ExcessLess = 0;
nextToken();
const bool MightBeStmtExpr = FormatTok->is(tok::l_brace);
if (!InMacroCall && Prev && Prev->is(TT_FunctionLikeMacro))
@@ -2804,7 +2804,7 @@ bool UnwrappedLineParser::parseParens(TokenType StarAndAmpTokenType,
parseRequiresExpression();
break;
case tok::less:
- // We have here no clue wether this is a less, or a template opener, opt
+ // We have here no clue whether this is a less, or a template opener, opt
// out of the predefined StarAndAmpTokenType.
++ExcessLess;
nextToken();
``````````
</details>
https://github.com/llvm/llvm-project/pull/218142
More information about the cfe-commits
mailing list