Skip to content

Commit 01bb3ee

Browse files
committed
Position attributes
1 parent 923c885 commit 01bb3ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Interpreter/InterpreterValuePrinter.cpp

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

642642
// Temporary rvalue struct that need special care.
643-
REPL_EXTERNAL_VISIBILITY extern "C" void *
643+
extern "C" void * REPL_EXTERNAL_VISIBILITY
644644
__clang_Interpreter_SetValueWithAlloc(void *This, void *OutVal,
645645
void *OpaqueType) {
646646
Value &VRef = *(Value *)OutVal;
647647
VRef = Value(static_cast<Interpreter *>(This), OpaqueType);
648648
return VRef.getPtr();
649649
}
650650

651-
REPL_EXTERNAL_VISIBILITY extern "C" void
651+
extern "C" void REPL_EXTERNAL_VISIBILITY
652652
__clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal, void *OpaqueType,
653653
...) {
654654
Value &VRef = *(Value *)OutVal;
@@ -732,7 +732,7 @@ __clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal, void *OpaqueType,
732732
// definition in the interpreter runtime. We should move it in a runtime header
733733
// which gets included by the interpreter and here.
734734
struct __clang_Interpreter_NewTag {};
735-
REPL_EXTERNAL_VISIBILITY void *
735+
void * REPL_EXTERNAL_VISIBILITY
736736
operator new(size_t __sz, void *__p, __clang_Interpreter_NewTag) noexcept {
737737
// Just forward to the standard operator placement new.
738738
return operator new(__sz, __p);

0 commit comments

Comments
 (0)