jlebar created this revision. jlebar added a reviewer: tra. Herald added subscribers: llvm-commits, sanjoy. Herald added a reviewer: EricWF.
Repository: rT test-suite https://reviews.llvm.org/D46995 Files: External/CUDA/complex.cu Index: External/CUDA/complex.cu =================================================================== --- External/CUDA/complex.cu +++ External/CUDA/complex.cu @@ -18,15 +18,10 @@ #include <stdio.h> // These tests are pretty annoying to write without C++11, so we require that. -// In addition, these tests currently don't compile with libc++, because of the -// issue in https://reviews.llvm.org/D25403. -// -// TODO: Once that issue is resolved, take out !defined(_LIBCPP_VERSION) here. // // In addition, these tests don't work in C++14 mode with pre-C++14 versions of // libstdc++ (compile errors in <complex>). -#if __cplusplus >= 201103L && !defined(_LIBCPP_VERSION) && \ - (__cplusplus < 201402L || STDLIB_VERSION >= 2014) +#if __cplusplus >= 201103L && (__cplusplus < 201402L || STDLIB_VERSION >= 2014) #include <assert.h> #include <complex>
Index: External/CUDA/complex.cu =================================================================== --- External/CUDA/complex.cu +++ External/CUDA/complex.cu @@ -18,15 +18,10 @@ #include <stdio.h> // These tests are pretty annoying to write without C++11, so we require that. -// In addition, these tests currently don't compile with libc++, because of the -// issue in https://reviews.llvm.org/D25403. -// -// TODO: Once that issue is resolved, take out !defined(_LIBCPP_VERSION) here. // // In addition, these tests don't work in C++14 mode with pre-C++14 versions of // libstdc++ (compile errors in <complex>). -#if __cplusplus >= 201103L && !defined(_LIBCPP_VERSION) && \ - (__cplusplus < 201402L || STDLIB_VERSION >= 2014) +#if __cplusplus >= 201103L && (__cplusplus < 201402L || STDLIB_VERSION >= 2014) #include <assert.h> #include <complex>
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits