]> granicus.if.org Git - clang/commit
clang-cl: Ignore the /o option when /P is specified.
authorGreg Bedwell <greg_bedwell@sn.scee.net>
Tue, 9 Jun 2015 10:24:06 +0000 (10:24 +0000)
committerGreg Bedwell <greg_bedwell@sn.scee.net>
Tue, 9 Jun 2015 10:24:06 +0000 (10:24 +0000)
commit573ae61aff2a37ce0a2f4a7c6edfe035e538fccd
tree891dff33040744bbc5bdee6b1fea4efe3dffc1cf
parentf934056e4b145074256987f03391f77856e9e824
clang-cl: Ignore the /o option when /P is specified.

This matches the cl.exe behavior (tested with 18.00.31101).  In order to
specify an output file for /P, use the /Fi option instead.

Differential Revision: http://reviews.llvm.org/D10313

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239393 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/cl-outputs.c