[PATCH] clang-cl: Don't treat linker input files differently when /TP or /TC is specified.

Ehsan Akhgari ehsan.akhgari at gmail.com
Fri Sep 12 11:24:07 PDT 2014


================
Comment at: test/Driver/cl-inputs.c:39
@@ +38,3 @@
+// TPlib: warning: cl-test.lib: 'linker' input unused
+// TPlib-NOT: cl-test.lib
+
----------------
hans wrote:
> This should warn that /TP is unused. I'd add a check for that.
It doesn't right now, because we get the /TC or /TP option using getLastArg which claims the argument.  I'll fix that in a separate patch (checked with Hans on IRC.)

http://reviews.llvm.org/D5334






More information about the cfe-commits mailing list