[PATCH] D46995: [test-suite] Enable CUDA complex tests with libc++ now that D25403 is resolved.
Justin Lebar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 17 13:36:57 PDT 2018
This revision was automatically updated to reflect the committed changes.
jlebar marked an inline comment as done.
Closed by commit rL332660: [test-suite] Enable CUDA complex tests with libc++ now that D25403 is resolved. (authored by jlebar, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D46995
Files:
test-suite/trunk/External/CUDA/complex.cu
Index: test-suite/trunk/External/CUDA/complex.cu
===================================================================
--- test-suite/trunk/External/CUDA/complex.cu
+++ test-suite/trunk/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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46995.147384.patch
Type: text/x-patch
Size: 913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180517/9e90c0d8/attachment.bin>
More information about the cfe-commits
mailing list