[test-suite] r204701 - Remove some pointless forward declarations of std::complex.
Ben Langmuir
blangmuir at apple.com
Mon Mar 24 21:35:27 PDT 2014
Author: benlangmuir
Date: Mon Mar 24 23:35:27 2014
New Revision: 204701
URL: http://llvm.org/viewvc/llvm-project?rev=204701&view=rev
Log:
Remove some pointless forward declarations of std::complex.
According to C++ 17.6.4.2.1 these are undefined, and after r204082 they
will not compile against libc++ with clang.
Modified:
test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.cpp
Modified: test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.cpp?rev=204701&r1=204700&r2=204701&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.cpp (original)
+++ test-suite/trunk/MultiSource/Benchmarks/tramp3d-v4/tramp3d-v4.cpp Mon Mar 24 23:35:27 2014
@@ -6482,9 +6482,6 @@ struct ElementProperties<float> : public
template <>
struct ElementProperties<double> : public BasicTypeProperties<double>
{ };
-namespace std {
- template <class Float> class complex;
-}
template <class FloatType>
struct ElementProperties<std::complex<FloatType> >
: public TrivialElementProperties<std::complex<FloatType> >
@@ -21006,9 +21003,6 @@ template<class T1, class T2 >
struct BinaryReturn<T1, T2, FnOrAssign > {
typedef bool Type_t;
};
-namespace std {
-template<class T> class complex;
-}
using std::complex;
template<class T>
struct UnaryReturn< complex<T>, FnConj >
More information about the llvm-commits
mailing list