[clang] [clang-repl] Lay the basic infrastructure for pretty printing of types (PR #148701)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 14 22:16:54 PDT 2025


================
@@ -416,6 +416,8 @@ Interpreter::Interpreter(std::unique_ptr<CompilerInstance> Instance,
         return;
       }
   }
+
+  ValuePrintingInfo.resize(4);
----------------
vgvassilev wrote:

It was a `std::vector` of a predefined elements. I removed this by switching to a `std::array`. Good catch!

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


More information about the cfe-commits mailing list