[PATCH] clang-cl: Warn when a /TC or /TP argument is unused

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


================
Comment at: test/Driver/cl-inputs.c:47
@@ +46,3 @@
+// TPlib2: warning: cl-test.lib: 'linker' input unused
+// TPlib2: warning: argument unused during compilation: '/TP'
+// TPlib2-NOT: cl-test.lib
----------------
hans wrote:
> Can't you just att this to the TPlib checks above? (And similarly for /TC below.)
No, note the %s in the tests above.  In those tests, /TC and /TP are used on cl-inputs.c.

http://reviews.llvm.org/D5338






More information about the cfe-commits mailing list