Fix preprocessor option parsing
Exclude options::DXCOption to avoid confusing the parser with the second -E option.
This commit is contained in:
parent
8c369bf487
commit
444a841163
@ -157,7 +157,7 @@ void CompilerOptions::Parse(int argc, const char* const argv[],
|
||||
|
||||
InputArgList Args(OptsC1.ParseArgs(ArgStrings, MissingArgIndex,
|
||||
MissingArgCount, 0,
|
||||
options::NoDriverOption | options::CLOption));
|
||||
options::NoDriverOption | options::CLOption | options::DXCOption));
|
||||
|
||||
std::vector<const char*> LLVMArgs;
|
||||
LLVMArgs.push_back("cling (LLVM option parsing)");
|
||||
|
Loading…
Reference in New Issue
Block a user