[test-suite] r332660 - [test-suite] Enable CUDA complex tests with libc++ now that D25403 is resolved.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 13:32:56 PDT 2018


Author: jlebar
Date: Thu May 17 13:32:56 2018
New Revision: 332660

URL: http://llvm.org/viewvc/llvm-project?rev=332660&view=rev
Log:
[test-suite] Enable CUDA complex tests with libc++ now that D25403 is resolved.

Reviewers: tra, EricWF

Subscribers: sanjoy, llvm-commits, cfe-commits

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

Modified:
    test-suite/trunk/External/CUDA/complex.cu

Modified: test-suite/trunk/External/CUDA/complex.cu
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/CUDA/complex.cu?rev=332660&r1=332659&r2=332660&view=diff
==============================================================================
--- test-suite/trunk/External/CUDA/complex.cu (original)
+++ test-suite/trunk/External/CUDA/complex.cu Thu May 17 13:32:56 2018
@@ -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>




More information about the llvm-commits mailing list