[clang-tools-extra] [clang-tidy] Correctly handle array of pointers in misc-const-correctness (PR #179059)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 31 19:38:58 PST 2026
================
@@ -147,6 +147,9 @@ Changes in existing checks
- Added support for analyzing function parameters with the `AnalyzeParameters`
option.
+ - Fixed false positive where an array of pointers to const was incorrectly
+ diagnosed as allowing the pointee to be made const.
----------------
EugeneZelenko wrote:
```suggestion
- Fixed false positive where an array of pointers to ``const`` was incorrectly
diagnosed as allowing the pointee to be made ``const``.
```
Please also take care about line length.
https://github.com/llvm/llvm-project/pull/179059
More information about the cfe-commits
mailing list