================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits