Index: lib/Headers/__clang_cuda_runtime_wrapper.h =================================================================== --- lib/Headers/__clang_cuda_runtime_wrapper.h +++ lib/Headers/__clang_cuda_runtime_wrapper.h @@ -199,7 +199,6 @@ // Set up compiler macros expected to be seen during compilation. #undef __CUDABE__ #define __CUDACC__ -#define __NVCC__ #if defined(__CUDA_ARCH__) // We need to emit IR declaration for non-existing __nvvm_reflect() to