[clang] [clang-format] Align trailing comments for function parameters (PR #164458)

via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 2 23:57:17 PST 2025


================
@@ -507,7 +507,7 @@ static unsigned AlignTokens(const FormatStyle &Style, F &&Matches,
   };
 
   unsigned I = StartAt;
-  unsigned E = Changes.size();
+  auto E = Changes.size();
----------------
owenca wrote:

`const auto` as suggested?

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


More information about the cfe-commits mailing list