================
@@ -0,0 +1,143 @@
+// RUN: %check_clang_tidy %s readability-avoid-default-lambda-capture %t -- -- 
-Wno-vla-extension
----------------
jjmarr-amd wrote:

Well, you'd get a compiler warning on the variable-length array on line 137 
since that's not a valid C++ construct. However, implicitly capturing a VLA is 
a clang compiler extension so it's a necessary test case.

I suppose I could remove and check for the VLA warning, but I thought that 
might be confusing to someone reading the test case expecting there not to be a 
warning.

https://github.com/llvm/llvm-project/pull/160150
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to