[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
Wed Jul 16 10:27:32 PDT 2025


================
@@ -300,16 +640,17 @@ llvm::Expected<Expr *> Interpreter::ExtractValueFromExpr(Expr *E) {
 using namespace clang;
 
 // Temporary rvalue struct that need special care.
-REPL_EXTERNAL_VISIBILITY void *
+REPL_EXTERNAL_VISIBILITY extern "C" void *
----------------
AaronBallman wrote:

IIRC, I think this should be:
```
extern "C" void * REPL_EXTERNAL_VISIBILITY func();
```
CC @compnerd 

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


More information about the cfe-commits mailing list