[clang] [clang-tools-extra] [clang-tidy] fix match for binaryOperator in ExprMutationAnalyzer for misc-const-correctness (PR #70559)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 12 21:40:59 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
----------------
PiotrZSL wrote:
Looks fine, but wrap this after "to member function."
https://github.com/llvm/llvm-project/pull/70559
More information about the cfe-commits
mailing list