================
@@ -622,6 +622,8 @@ Improvements to Clang's diagnostics
 - Clang no longer emits a "declared here" note for a builtin function that has 
no declaration in source.
   Fixes #GH93369.
 
+- Clang now has an improved error message when trying to capture a variable 
for lambda function expressions.
----------------
Sirraide wrote:

This should be more descriptive, i.e. I’d mention that this is specifically 
about the case of trying to capture a class member.

https://github.com/llvm/llvm-project/pull/94865
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to