Re: [PATCH] D18417: [CUDA] Don't define __NVCC__.

2016-03-23 Thread Justin Lebar via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL264205: [CUDA] Don't define __NVCC__. (authored by jlebar). Changed prior to commit: http://reviews.llvm.org/D18417?vs=51482&id=51483#toc Repository: rL LLVM http://reviews.llvm.org/D18417 Files:

[PATCH] D18417: [CUDA] Don't define __NVCC__.

2016-03-23 Thread Justin Lebar via cfe-commits
jlebar created this revision. jlebar added a reviewer: tra. jlebar added a subscriber: cfe-commits. We decided this makes life too difficult for code authors. For example, people may want to detect NVCC and disable variadic templates, which NVCC does not support, but which we do. Since people ar