Skip to content

Commit 9432bb5

Browse files
committed
Add missed endif
1 parent 8867cf5 commit 9432bb5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

unittests/CppInterOp/InterpreterTest.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#ifndef USE_CLING
1111
#include "clang/Interpreter/Interpreter.h"
12+
#endif // USE_REPL
1213

1314
#include "clang/Basic/Version.h"
1415

@@ -116,7 +117,7 @@ TEST(InterpreterTest, CreateInterpreter) {
116117
auto I2 = clang_Interpreter_takeInterpreterAsPtr(CXI);
117118
EXPECT_EQ(I, I2);
118119
clang_Interpreter_dispose(CXI);
119-
#endif // USE_REPL
120+
#endif
120121
}
121122

122123
#ifdef LLVM_BINARY_DIR
@@ -222,6 +223,7 @@ if (llvm::sys::RunningOnValgrind())
222223

223224
#ifndef USE_CLING
224225
I.release();
226+
#endif
225227

226228
#ifdef USE_CLING
227229
delete ExtInterp;

0 commit comments

Comments
 (0)