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

Hans Wennborg hans at chromium.org
Fri Sep 12 12:44:47 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
----------------
Can't you just att this to the TPlib checks above? (And similarly for /TC below.)

http://reviews.llvm.org/D5338






More information about the cfe-commits mailing list