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

All the tests (including the FP at hand) pass if you remove 
`unless(arrayType()` from line 87 (as well as the part of the comment), so I 
think it would be preferable to do that instead of creating a `ConstArrayType`.

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

Reply via email to