[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
================
@@ -119,9 +119,9 @@ class REPL_EXTERNAL_VISIBILITY Value {
~Value();
void printType(llvm::raw_ostream &Out) const;
- void printData(llvm::raw_ostream &Out) const;
- void print(llvm::raw_ostream &Out) const;
- void dump() const;
+ void printData(llvm::raw_ostream &Out);
+ void print(llvm::raw_ostream &Out);
+ void dump();
----------------
AaronBallman wrote:
These APIs are often called from a debugger, I think we really want to leave them `const` so it's safe to use for that use case.
https://github.com/llvm/llvm-project/pull/148701
More information about the cfe-commits
mailing list