Skip to content

Commit

Permalink
Update src/xinterpreter.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Vassil Vassilev <[email protected]>
  • Loading branch information
anutosh491 and vgvassilev authored Nov 8, 2024
1 parent b24ec8e commit 0bca94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xinterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ using Args = std::vector<const char*>;

void* createInterpreter(const Args &ExtraArgs = {}) {
Args ClangArgs = {/*"-xc++"*/"-v"}; // ? {"-Xclang", "-emit-llvm-only", "-Xclang", "-diagnostic-log-file", "-Xclang", "-", "-xc++"};
if (std::find_if(ExtraArgs.begin(), ExtraArgs.end(), [](std::string s) {
if (std::find_if(ExtraArgs.begin(), ExtraArgs.end(), [](const std::string& s) {
return s == "-resource-dir";}) == ExtraArgs.end()) {
std::string resource_dir = Cpp::DetectResourceDir();
if (resource_dir.empty())
Expand Down

0 comments on commit 0bca94e

Please sign in to comment.