summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-09-17 00:03:41 +0000
committerHans Wennborg <hans@hanshq.net>2013-09-17 00:03:41 +0000
commitd8df3f70930b2251119ed363a7fde737c76af784 (patch)
treeffe75c5c25c190008ea6c606ca4ecac11fc45354 /lib/CodeGen/CodeGenFunction.cpp
parent31bc1d2da58677b95346d1c34ba289e6a178bec3 (diff)
downloadclang-d8df3f70930b2251119ed363a7fde737c76af784.tar.gz
clang-d8df3f70930b2251119ed363a7fde737c76af784.tar.bz2
clang-d8df3f70930b2251119ed363a7fde737c76af784.tar.xz
clang-cl: ignore compile-only options in link-only invocations.
Previously we would warn about unused arguments such as /MD when linking. Clang already has logic to ignore compile-only options, e.g. for -D and -U. This patch extends that to include clang-cl's compile-only options too. Also, some clang-cl options should always be ignored. Doing this earlier means they get ignored both for compilation and link-only invocations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions