[clang-tools-extra] [clang] [clang-tidy] fix misc-const-correctnes false-positive for fold expressions (PR #78320)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 12:51:40 PST 2024


================
@@ -382,7 +382,8 @@ Changes in existing checks
   using pointer to member function. Additionally, the check no longer emits
   a diagnostic when a variable that is not type-dependent is an operand of a
   type-dependent binary operator. Improved performance of the check through
-  optimizations.
+  optimizations. The check no longer emits a diagnostic for
+  variables used as the initializer of C++17 fold expressions.
----------------
5chmidti wrote:

Done

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


More information about the cfe-commits mailing list