@@ -640,17 +640,15 @@ llvm::Expected<Expr *> Interpreter::convertExprToValue(Expr *E) {
640640using namespace clang ;
641641
642642// Temporary rvalue struct that need special care.
643- REPL_EXTERNAL_VISIBILITY extern " C" void *
644- __clang_Interpreter_SetValueWithAlloc (void *This, void *OutVal,
645- void *OpaqueType) {
643+ extern " C" void *REPL_EXTERNAL_VISIBILITY __clang_Interpreter_SetValueWithAlloc (
644+ void *This, void *OutVal, void *OpaqueType) {
646645 Value &VRef = *(Value *)OutVal;
647646 VRef = Value (static_cast <Interpreter *>(This), OpaqueType);
648647 return VRef.getPtr ();
649648}
650649
651- REPL_EXTERNAL_VISIBILITY extern " C" void
652- __clang_Interpreter_SetValueNoAlloc (void *This, void *OutVal, void *OpaqueType,
653- ...) {
650+ extern " C" void REPL_EXTERNAL_VISIBILITY __clang_Interpreter_SetValueNoAlloc (
651+ void *This, void *OutVal, void *OpaqueType, ...) {
654652 Value &VRef = *(Value *)OutVal;
655653 Interpreter *I = static_cast <Interpreter *>(This);
656654 VRef = Value (I, OpaqueType);
@@ -732,7 +730,7 @@ __clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal, void *OpaqueType,
732730// definition in the interpreter runtime. We should move it in a runtime header
733731// which gets included by the interpreter and here.
734732struct __clang_Interpreter_NewTag {};
735- REPL_EXTERNAL_VISIBILITY void *
733+ void *REPL_EXTERNAL_VISIBILITY
736734operator new (size_t __sz, void *__p, __clang_Interpreter_NewTag) noexcept {
737735 // Just forward to the standard operator placement new.
738736 return operator new (__sz, __p);
0 commit comments