-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch to skip include new for CppInterOp (#1414)
- Loading branch information
1 parent
0bb5ca0
commit 733930a
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/lib/Interpreter/CppInterOpInterpreter.h b/lib/Interpreter/CppInterOpInterpreter.h | ||
index e358406..760fec5 100644 | ||
--- a/lib/Interpreter/CppInterOpInterpreter.h | ||
+++ b/lib/Interpreter/CppInterOpInterpreter.h | ||
@@ -148,8 +148,8 @@ public: | ||
llvm::InitializeAllAsmPrinters(); | ||
|
||
std::vector<const char*> vargs(argv + 1, argv + argc); | ||
- vargs.push_back("-include"); | ||
- vargs.push_back("new"); | ||
+ // vargs.push_back("-include"); | ||
+ // vargs.push_back("new"); | ||
inner = compat::createClangInterpreter(vargs); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters