[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 07:12:36 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:
You are right, what do you think about `The check no longer emits a diagnostic for non-parameter-pack variables in C++17 fold expressions.`?
https://github.com/llvm/llvm-project/pull/78320
More information about the cfe-commits
mailing list