[clang] [clang-tools-extra] [clang-tidy] fix match for binaryOperator in ExprMutationAnalyzer for misc-const-correctness (PR #70559)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 13 12:27:35 PST 2023
================
@@ -307,11 +307,9 @@ Changes in existing checks
- Improved :doc:`misc-const-correctness
<clang-tidy/checks/misc/const-correctness>` check to avoid false positive when
using pointer to member function.
-
-- Improved :doc:`misc-const-correctness
- <clang-tidy/checks/misc/const-correctness>` check to not warn on uses in
- type-dependent binary operators, when the variable that is being
- looked at, is not the dependent operand.
+ Additionally, the check no longer emits a diagnostic when
----------------
5chmidti wrote:
Like this?
https://github.com/llvm/llvm-project/pull/70559
More information about the cfe-commits
mailing list