Skip to content

Commit d3752df

Browse files
authored
Add USE_CLING definition instead of USE_REPL
1 parent 5b55c3d commit d3752df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Interpreter/Compatibility.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ inline void codeComplete(std::vector<std::string>& Results,
183183

184184
#endif // USE_CLING
185185

186+
#ifndef USE_CLING
186187

187188
#include "DynamicLibraryManager.h"
188189
#include "clang/AST/Mangle.h"
@@ -403,6 +404,8 @@ using Interpreter = Cpp::Interpreter;
403404
}
404405

405406

407+
#endif // USE_CLING
408+
406409
namespace compat {
407410

408411
// Clang >= 14 change type name to string (spaces formatting problem)

0 commit comments

Comments
 (0)