This is an archive of the discontinued LLVM Phabricator instance.

[llvm-cvtres] Allow parameters preceded by '-' in addition to '/'
ClosedPublic

Authored by mstorsjo on May 2 2018, 6:25 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.May 2 2018, 6:25 AM
amccarth accepted this revision.May 2 2018, 2:00 PM
amccarth added a subscriber: amccarth.

I'm mildly concerned about the tests that give filenames with forward slashes. That doesn't work with a lot of Windows command lines, but apparently the tests here were already doing that.

This revision is now accepted and ready to land.May 2 2018, 2:00 PM

I'm mildly concerned about the tests that give filenames with forward slashes. That doesn't work with a lot of Windows command lines, but apparently the tests here were already doing that.

Yup - especially for the case when invoked from msys, parameters with slashes can occasionally be made into absolute paths (although the cvtres ones don't have that problem), which is why I prefer to consistently use dashes if possible.

This revision was automatically updated to reflect the committed changes.