[CUDA] Do not allow using NVPTX target for host compilation.
authorArtem Belevich <tra@google.com>
Tue, 2 Aug 2016 22:37:47 +0000 (22:37 +0000)
committerArtem Belevich <tra@google.com>
Tue, 2 Aug 2016 22:37:47 +0000 (22:37 +0000)
commitf981e30b45a88dda761100909940167648db42e6
treece3e52bf7584d7c143356dde0f2bb4c894f94b9b
parent707894b09270dc072f734d2a28567db58bc36b34
[CUDA] Do not allow using NVPTX target for host compilation.

Differential Revision: https://reviews.llvm.org/D23042

llvm-svn: 277537
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/lib/Driver/Driver.cpp
clang/test/Driver/cuda-bad-arch.cu
clang/test/Preprocessor/cuda-types.cu
clang/unittests/ASTMatchers/ASTMatchersTest.h