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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 14 12:14:55 PDT 2025


================
@@ -200,6 +192,24 @@ class Interpreter {
   llvm::SmallVector<Expr *, 4> ValuePrintingInfo;
 
   std::unique_ptr<llvm::orc::LLJITBuilder> JITBuilder;
+
+  /// @}
+  /// @name Value and pretty printing support
+  /// @{
+
+  std::string ValueDataToString(const Value &V);
----------------
AaronBallman wrote:

Why is `ValueTypeToString` const but not `ValueDataToString`?

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


More information about the cfe-commits mailing list