This is an archive of the discontinued LLVM Phabricator instance.

clang-cl: Add support for -o
ClosedPublic

Authored by rnk on May 14 2014, 2:08 PM.

Details

Reviewers
hans
Summary

MSVC silently ignores it rather than warning on it, so they have some
support for it. This greatly simplifies wiring clang-cl through CMake
and other build systems that use traditional -o compiler flag.

Diff Detail

Event Timeline

rnk updated this revision to Diff 9402.May 14 2014, 2:08 PM
rnk retitled this revision from to clang-cl: Add support for -o.
rnk added a reviewer: hans.
rnk updated this object.
rnk added a subscriber: Unknown Object (MLST).
hans edited edge metadata.May 14 2014, 2:41 PM

LGTM, thanks for fixing

lib/Driver/Driver.cpp
1618

I wish this was simpler :/

hans accepted this revision.May 14 2014, 2:41 PM
hans edited edge metadata.
This revision is now accepted and ready to land.May 14 2014, 2:41 PM
rnk updated this revision to Diff 9404.May 14 2014, 3:23 PM
rnk edited edge metadata.
  • try to clean this up

Looks like patch was not committed.

hans closed this revision.Oct 4 2016, 9:52 AM

Ehsan added support for -o with r217615.