[clang-tools-extra] [clang-tidy][misc-const-correctness] fix fp when using const array type. (PR #133018)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 26 23:52:03 PDT 2025


================
@@ -89,6 +89,8 @@ void ConstCorrectnessCheck::registerMatchers(MatchFinder *Finder) {
   const auto ConstReference = hasType(references(isConstQualified()));
----------------
HerrCai0907 wrote:

I think the comment means check the constness of pointer and array instead of const pointer and const array

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


More information about the cfe-commits mailing list