Skip to content

Commit 1eabe0c

Browse files
committed
review comments
1 parent 8d91bcd commit 1eabe0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/CppInterOp/CppInterOp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,19 @@
9595
#if !defined(CPPINTEROP_USE_CLING) && !defined(EMSCRIPTEN)
9696
struct __clang_Interpreter_NewTag {
9797
} __ci_newtag;
98-
#if CLANG_VERSION_MAJOR >= 22
98+
#if CLANG_VERSION_MAJOR > 21
9999
extern "C" void* __clang_Interpreter_SetValueWithAlloc(void* This, void* OutVal,
100100
void* OpaqueType)
101101
#else
102102
void* __clang_Interpreter_SetValueWithAlloc(void* This, void* OutVal,
103103
void* OpaqueType);
104104
#endif
105105

106-
#if CLANG_VERSION_MAJOR >= 19
106+
#if CLANG_VERSION_MAJOR > 18
107107
extern "C" void __clang_Interpreter_SetValueNoAlloc(void* This,
108108
void* OutVal,
109109
void* OpaqueType, ...);
110-
#elif CLANG_VERSION_MAJOR == 18
110+
#else
111111
void __clang_Interpreter_SetValueNoAlloc(void*, void*, void*);
112112
void __clang_Interpreter_SetValueNoAlloc(void*, void*, void*, void*);
113113
void __clang_Interpreter_SetValueNoAlloc(void*, void*, void*, float);

0 commit comments

Comments
 (0)