[clang-tools-extra] [clang-tidy] support pointee mutation check in misc-const-correctness (PR #130494)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 11 10:36:51 PDT 2025


================
@@ -0,0 +1,50 @@
+// RUN: %check_clang_tidy %s misc-const-correctness %t \
----------------
vbvictor wrote:

I suppose this behavior comes from overlapping diag-messages, so guess we need to change diag-message inside `CheckPointee` lambda.

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


More information about the cfe-commits mailing list