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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 26 04:43:18 PDT 2025


================
@@ -169,6 +172,7 @@ void ConstCorrectnessCheck::check(const MatchFinder::MatchResult &Result) {
     if (ArrayT->getElementType()->isPointerType())
       VC = VariableCategory::Pointer;
   }
+  llvm::errs() << (int)VC << "\n";
----------------
vbvictor wrote:

This also unintentionally?

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


More information about the cfe-commits mailing list