We used to put the canonical spelling of flags after alias processing
on that line. For clang-cl in particular, that meant that we put flags
on that line that the clang-cl driver doesn't even accept, and the
"Driver args:" line wasn't usable.
Details
Diff Detail
Unit Tests
Event Timeline
lgtm
clang/lib/Driver/Driver.cpp | ||
---|---|---|
1220 | Could put a comment here about why it's calling getAlias() (Or maybe it's just me that finds the getAlias() name confusing.) | |
clang/test/Driver/crash-report-clang-cl.c | ||
3 | These always make me thing the test should "requires: shell", but I think for these commands it should work without, right? |
Thanks!
clang/test/Driver/crash-report-clang-cl.c | ||
---|---|---|
3 | Yes, these work without REQUIRES: shell. We require a whole bunch of unix utils on Windows, but we don't require a shell for most tests. That's usually required if doing advanced piping maybe? Actually, looking at REQUIRES: shell in tests, many put it there needlessly :/ |
Could put a comment here about why it's calling getAlias() (Or maybe it's just me that finds the getAlias() name confusing.)