[PATCH] D11575: Silence unused argument warning for --cuda-host-only.

Eric Christopher echristo at gmail.com
Tue Jul 28 13:48:39 PDT 2015


echristo accepted this revision.
echristo added a comment.

Sure. It's probably not ideal, but seems to work. Couple of silly nits inline.

-eric


================
Comment at: test/Driver/cuda-options.cu:72
@@ -71,1 +71,3 @@
 
+// --cuda-host-only should not ever trigger unused arg warning.
+// RUN: %clang -### -target x86_64-linux-gnu --cuda-host-only -c %s 2>&1 | \
----------------
"not ever" -> never

================
Comment at: test/Driver/cuda-options.cu:78
@@ +77,3 @@
+
+// --cuda-device-only should not produce warnging compiling CUDA files
+// RUN: %clang -### -target x86_64-linux-gnu --cuda-device-only -c %s 2>&1 | \
----------------
samsonov wrote:
> s/warnging/warning
"warning"


http://reviews.llvm.org/D11575







More information about the cfe-commits mailing list