diff options
| author | Hans Wennborg <hans@hanshq.net> | 2013-09-09 19:04:49 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2013-09-09 19:04:49 +0000 |
| commit | 5bfc796a03e45c23e498315b7b49a5c46fe77446 (patch) | |
| tree | 9cdac1a812c396aff8c8981fb10a66e6c91e338e /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 457e05aee22417dc59ee4a51ead73e7be46f0e4b (diff) | |
| download | clang-5bfc796a03e45c23e498315b7b49a5c46fe77446.tar.gz clang-5bfc796a03e45c23e498315b7b49a5c46fe77446.tar.bz2 clang-5bfc796a03e45c23e498315b7b49a5c46fe77446.tar.xz | |
clang-cl: parse (but don't support) the /o flag
Apparently folks run into this (PR17097). The flag is not supported by
MSVC either, but we should parse it so we don't get confused when it occurs.
This changes the clang-cl output for "clang-cl /c /o foo.obj" from:
clang-cl.exe: error: no such file or directory: '/o'
clang-cl.exe: error: no such file or directory: 'foo.obj'
to:
clang-cl.exe: warning: argument unused during compilation: '/o bajs.obj'
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
