[clang] [clang] Correct FixIt ranges for unused capture warnings (PR #141148)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 3 02:54:31 PDT 2025


================
@@ -1,5 +1,5 @@
 // RUN: cp %s %t
-// RUN: %clang_cc1 -x c++ -Wunused-lambda-capture -Wno-unused-value -std=c++1z -fixit %t
+// RUN: %clang_cc1 -x c++  -Wno-vla-cxx-extension -Wunused-lambda-capture -Wno-unused-value -std=c++1z -fixit %t
----------------
cor3ntin wrote:

Why is that change necessary?

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


More information about the cfe-commits mailing list