Skip to content

Commit cfbb303

Browse files
committed
Formatting changes
1 parent 9250d0f commit cfbb303

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

lib/CppInterOp/Compatibility.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,14 +291,13 @@ createClangInterpreter(std::vector<const char*>& args, int stdin_fd = 0,
291291
setvbuf(stdout, nullptr, _IONBF, 0);
292292
setvbuf(stderr, nullptr, _IONBF, 0);
293293
};
294-
294+
295295
#ifdef __APPLE__
296-
std::string OrcRuntimePath =
297-
std::string(LLVM_BUILD_DIR) + "/lib/clang/" +
298-
std::to_string(LLVM_VERSION_MAJOR) + "/lib/darwin/liborc_rt_osx.a";
296+
std::string OrcRuntimePath = std::string(LLVM_BUILD_DIR) + "/lib/clang/" +
297+
std::to_string(LLVM_VERSION_MAJOR) +
298+
"/lib/darwin/liborc_rt_osx.a";
299299
#else
300-
std::string OrcRuntimePath = std::string(LLVM_BUILD_DIR) +
301-
"/lib/clang/" +
300+
std::string OrcRuntimePath = std::string(LLVM_BUILD_DIR) + "/lib/clang/" +
302301
std::to_string(LLVM_VERSION_MAJOR) +
303302
"/lib/x86_64-unknown-linux-gnu/liborc_rt.a";
304303
#endif
@@ -462,7 +461,7 @@ class SynthesizingCodeRAII {
462461
"Failed to generate PTU:");
463462
}
464463
};
465-
}
464+
} // namespace compat
466465

467466
#endif // CPPINTEROP_USE_REPL
468467

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ TEST(InterpreterTest, Evaluate) {
7676
GTEST_SKIP() << "Test fails for OOP JIT builds";
7777
}
7878
// EXPECT_TRUE(Cpp::Evaluate(I, "") == 0);
79-
//EXPECT_TRUE(Cpp::Evaluate(I, "__cplusplus;") == 201402);
79+
// EXPECT_TRUE(Cpp::Evaluate(I, "__cplusplus;") == 201402);
8080
// Due to a deficiency in the clang-repl implementation to get the value we
8181
// always must omit the ;
8282
TestUtils::CreateInterpreter();

0 commit comments

Comments
 (0)