[clang] [clang-repl] Add support for running custom code in Remote JIT executor (PR #157358)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 12 14:59:48 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions h,cpp -- clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp clang/include/clang/Interpreter/Interpreter.h clang/lib/Interpreter/IncrementalExecutor.cpp clang/lib/Interpreter/IncrementalExecutor.h clang/lib/Interpreter/Interpreter.cpp
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp b/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
index 271820e4e..704ddc37e 100644
--- a/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
+++ b/clang/unittests/Interpreter/OutOfProcessInterpreterTests.cpp
@@ -174,7 +174,7 @@ TEST_F(InterpreterTestBase, SanityWithRemoteExecution) {
std::string OrcRuntimePath = getOrcRuntimePath();
std::string ExecutorPath = getExecutorPath();
-
+
if (!llvm::sys::fs::exists(OrcRuntimePath) ||
!llvm::sys::fs::exists(ExecutorPath))
GTEST_SKIP();
``````````
</details>
https://github.com/llvm/llvm-project/pull/157358
More information about the cfe-commits
mailing list