================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to