|
95 | 95 | #if !defined(CPPINTEROP_USE_CLING) && !defined(EMSCRIPTEN) |
96 | 96 | struct __clang_Interpreter_NewTag { |
97 | 97 | } __ci_newtag; |
98 | | -#if CLANG_VERSION_MAJOR >= 22 |
| 98 | +#if CLANG_VERSION_MAJOR > 21 |
99 | 99 | extern "C" void* __clang_Interpreter_SetValueWithAlloc(void* This, void* OutVal, |
100 | 100 | void* OpaqueType) |
101 | 101 | #else |
102 | 102 | void* __clang_Interpreter_SetValueWithAlloc(void* This, void* OutVal, |
103 | 103 | void* OpaqueType); |
104 | 104 | #endif |
105 | 105 |
|
106 | | -#if CLANG_VERSION_MAJOR >= 19 |
| 106 | +#if CLANG_VERSION_MAJOR > 18 |
107 | 107 | extern "C" void __clang_Interpreter_SetValueNoAlloc(void* This, |
108 | 108 | void* OutVal, |
109 | 109 | void* OpaqueType, ...); |
110 | | -#elif CLANG_VERSION_MAJOR == 18 |
| 110 | +#else |
111 | 111 | void __clang_Interpreter_SetValueNoAlloc(void*, void*, void*); |
112 | 112 | void __clang_Interpreter_SetValueNoAlloc(void*, void*, void*, void*); |
113 | 113 | void __clang_Interpreter_SetValueNoAlloc(void*, void*, void*, float); |
@@ -3359,9 +3359,8 @@ CPPINTEROP_API JitCall MakeFunctionCallable(TCppConstFunction_t func) { |
3359 | 3359 |
|
3360 | 3360 | namespace { |
3361 | 3361 | #if !defined(CPPINTEROP_USE_CLING) && !defined(EMSCRIPTEN) |
3362 | | -static bool DefineAbsoluteSymbol(compat::Interpreter& I, |
3363 | | - const char* linker_mangled_name, |
3364 | | - uint64_t address) { |
| 3362 | +bool DefineAbsoluteSymbol(compat::Interpreter& I, |
| 3363 | + const char* linker_mangled_name, uint64_t address) { |
3365 | 3364 | using namespace llvm; |
3366 | 3365 | using namespace llvm::orc; |
3367 | 3366 |
|
|
0 commit comments