@@ -640,15 +640,15 @@ llvm::Expected<Expr *> Interpreter::convertExprToValue(Expr *E) {
640
640
using namespace clang ;
641
641
642
642
// Temporary rvalue struct that need special care.
643
- REPL_EXTERNAL_VISIBILITY extern " C" void *
643
+ extern " C" void * REPL_EXTERNAL_VISIBILITY
644
644
__clang_Interpreter_SetValueWithAlloc (void *This, void *OutVal,
645
645
void *OpaqueType) {
646
646
Value &VRef = *(Value *)OutVal;
647
647
VRef = Value (static_cast <Interpreter *>(This), OpaqueType);
648
648
return VRef.getPtr ();
649
649
}
650
650
651
- REPL_EXTERNAL_VISIBILITY extern " C" void
651
+ extern " C" void REPL_EXTERNAL_VISIBILITY
652
652
__clang_Interpreter_SetValueNoAlloc (void *This, void *OutVal, void *OpaqueType,
653
653
...) {
654
654
Value &VRef = *(Value *)OutVal;
@@ -732,7 +732,7 @@ __clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal, void *OpaqueType,
732
732
// definition in the interpreter runtime. We should move it in a runtime header
733
733
// which gets included by the interpreter and here.
734
734
struct __clang_Interpreter_NewTag {};
735
- REPL_EXTERNAL_VISIBILITY void *
735
+ void * REPL_EXTERNAL_VISIBILITY
736
736
operator new (size_t __sz, void *__p, __clang_Interpreter_NewTag) noexcept {
737
737
// Just forward to the standard operator placement new.
738
738
return operator new (__sz, __p);
0 commit comments