This fixes http://llvm.org/PR20923.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Driver/Driver.cpp | ||
---|---|---|
1080 ↗ | (On Diff #13641) | I would not base this check on what mode we're emulating, but which flag is being used as InputTypeArg, i.e. check that InputTypeArg is now OPT_x. Also, we probably shouldn't do InputTypeArg->claim() if we don't end up using it to set the type. |
lib/Driver/Driver.cpp | ||
---|---|---|
1080 ↗ | (On Diff #13641) | Oops, s/now/not/ in my comment above. |
test/Driver/cl-inputs.c | ||
---|---|---|
39 ↗ | (On Diff #13647) | It doesn't right now, because we get the /TC or /TP option using getLastArg which claims the argument. I'll fix that in a separate patch (checked with Hans on IRC.) |