[clang] [FixIt] Improve Source Ranges and Fix-It Hints for Unused Lambda Captures #106445 (PR #117953)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Tue May 13 20:15:51 PDT 2025


================
@@ -575,8 +577,7 @@ void Sema::ActOnLambdaExplicitTemplateParameterList(
   assert(LSI->TemplateParams.empty() &&
          "Explicit template parameters should come "
          "before invented (auto) ones");
-  assert(!TParams.empty() &&
-         "No template parameters to act on");
+  assert(!TParams.empty() && "No template parameters to act on");
----------------
ojhunt wrote:

NFC formatting change

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


More information about the cfe-commits mailing list