Skip to content

Commit 6270821

Browse files
committed
fix win
1 parent 812ddfe commit 6270821

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

clang/lib/Interpreter/InterpreterValuePrinter.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -641,15 +641,17 @@ llvm::Expected<Expr *> Interpreter::convertExprToValue(Expr *E) {
641641
using namespace clang;
642642

643643
// Temporary rvalue struct that need special care.
644-
extern "C" void *REPL_EXTERNAL_VISIBILITY __clang_Interpreter_SetValueWithAlloc(
645-
void *This, void *OutVal, void *OpaqueType) {
644+
REPL_EXTERNAL_VISIBILITY extern "C" void *
645+
__clang_Interpreter_SetValueWithAlloc(void *This, void *OutVal,
646+
void *OpaqueType) {
646647
Value &VRef = *(Value *)OutVal;
647648
VRef = Value(static_cast<Interpreter *>(This), OpaqueType);
648649
return VRef.getPtr();
649650
}
650651

651-
extern "C" void REPL_EXTERNAL_VISIBILITY __clang_Interpreter_SetValueNoAlloc(
652-
void *This, void *OutVal, void *OpaqueType, ...) {
652+
REPL_EXTERNAL_VISIBILITY extern "C" void
653+
__clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal, void *OpaqueType,
654+
...) {
653655
Value &VRef = *(Value *)OutVal;
654656
Interpreter *I = static_cast<Interpreter *>(This);
655657
VRef = Value(I, OpaqueType);

0 commit comments

Comments
 (0)