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 _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits