Skip to content

Commit c1f2760

Browse files
committed
Fix: Add default value for --orc-runtime option.
1 parent 14d6e13 commit c1f2760

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/tools/clang-repl/ClangRepl.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,17 @@ static llvm::cl::opt<std::string> SlabAllocateSizeString(
5656
static llvm::cl::opt<std::string>
5757
OOPExecutor("oop-executor",
5858
llvm::cl::desc("Launch an out-of-process executor to run code"),
59-
llvm::cl::ValueOptional, llvm::cl::cat(OOPCategory));
59+
llvm::cl::init(""), llvm::cl::ValueOptional,
60+
llvm::cl::cat(OOPCategory));
6061
static llvm::cl::opt<std::string> OOPExecutorConnect(
6162
"oop-executor-connect",
6263
llvm::cl::desc(
6364
"Connect to an out-of-process executor through a TCP socket"),
6465
llvm::cl::value_desc("<hostname>:<port>"));
6566
static llvm::cl::opt<std::string>
6667
OrcRuntimePath("orc-runtime", llvm::cl::desc("Path to the ORC runtime"),
67-
llvm::cl::ValueOptional, llvm::cl::cat(OOPCategory));
68+
llvm::cl::init(""), llvm::cl::ValueOptional,
69+
llvm::cl::cat(OOPCategory));
6870
static llvm::cl::opt<bool> UseSharedMemory(
6971
"use-shared-memory",
7072
llvm::cl::desc("Use shared memory to transfer generated code and data"),

0 commit comments

Comments
 (0)