================
@@ -179,7 +179,8 @@ Changes in existing checks
 - Improved :doc:`bugprone-return-const-ref-from-parameter
   <clang-tidy/checks/bugprone/return-const-ref-from-parameter>` check to
   diagnose potential dangling references when returning a ``const &`` parameter
-  by using the conditional operator ``cond ? var1 : var2``.
+  by using the conditional operator ``cond ? var1 : var2`` and no longer giving
----------------
jcsxky wrote:

The function in this 
[issue](https://github.com/llvm/llvm-project/issues/115743) contains lambda and 
thus gives a false positive(because it should not report diagnose since the 
return statement is not belongs to current function). I have modified the 
release note and make it easier to be understood.

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

Reply via email to