Author: ericwf Date: Fri Oct 7 20:32:56 2016 New Revision: 283644 URL: http://llvm.org/viewvc/llvm-project?rev=283644&view=rev Log: Remove all _LIBCPP_VERSION tests from under test/std
Added: libcxx/trunk/test/libcxx/depr/depr.c.headers/ciso646.pass.cpp libcxx/trunk/test/libcxx/depr/depr.c.headers/complex.h.pass.cpp libcxx/trunk/test/libcxx/depr/depr.c.headers/tgmath_h.pass.cpp libcxx/trunk/test/libcxx/numerics/c.math/ libcxx/trunk/test/libcxx/numerics/c.math/ctgmath.pass.cpp libcxx/trunk/test/libcxx/numerics/c.math/tgmath_h.pass.cpp libcxx/trunk/test/libcxx/numerics/c.math/version_cmath.pass.cpp libcxx/trunk/test/libcxx/numerics/complex.number/ccmplx/ libcxx/trunk/test/libcxx/numerics/complex.number/ccmplx/ccomplex.pass.cpp Removed: libcxx/trunk/test/std/numerics/c.math/version_cmath.pass.cpp Modified: libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp libcxx/trunk/test/std/numerics/c.math/ctgmath.pass.cpp libcxx/trunk/test/std/numerics/c.math/tgmath_h.pass.cpp libcxx/trunk/test/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp Added: libcxx/trunk/test/libcxx/depr/depr.c.headers/ciso646.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/depr/depr.c.headers/ciso646.pass.cpp?rev=283644&view=auto ============================================================================== --- libcxx/trunk/test/libcxx/depr/depr.c.headers/ciso646.pass.cpp (added) +++ libcxx/trunk/test/libcxx/depr/depr.c.headers/ciso646.pass.cpp Fri Oct 7 20:32:56 2016 @@ -0,0 +1,20 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <ciso646> + +#include <ciso646> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ +} Added: libcxx/trunk/test/libcxx/depr/depr.c.headers/complex.h.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/depr/depr.c.headers/complex.h.pass.cpp?rev=283644&view=auto ============================================================================== --- libcxx/trunk/test/libcxx/depr/depr.c.headers/complex.h.pass.cpp (added) +++ libcxx/trunk/test/libcxx/depr/depr.c.headers/complex.h.pass.cpp Fri Oct 7 20:32:56 2016 @@ -0,0 +1,21 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <complex.h> + +#include <complex.h> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ + std::complex<double> d; +} Added: libcxx/trunk/test/libcxx/depr/depr.c.headers/tgmath_h.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/depr/depr.c.headers/tgmath_h.pass.cpp?rev=283644&view=auto ============================================================================== --- libcxx/trunk/test/libcxx/depr/depr.c.headers/tgmath_h.pass.cpp (added) +++ libcxx/trunk/test/libcxx/depr/depr.c.headers/tgmath_h.pass.cpp Fri Oct 7 20:32:56 2016 @@ -0,0 +1,23 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <tgmath.h> + +#include <tgmath.h> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ + std::complex<double> cd; + double x = sin(1.0); + (void)x; // to placate scan-build +} Added: libcxx/trunk/test/libcxx/numerics/c.math/ctgmath.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/numerics/c.math/ctgmath.pass.cpp?rev=283644&view=auto ============================================================================== --- libcxx/trunk/test/libcxx/numerics/c.math/ctgmath.pass.cpp (added) +++ libcxx/trunk/test/libcxx/numerics/c.math/ctgmath.pass.cpp Fri Oct 7 20:32:56 2016 @@ -0,0 +1,22 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <ctgmath> + +#include <ctgmath> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ + std::complex<double> cd; + double x = std::sin(0); +} Added: libcxx/trunk/test/libcxx/numerics/c.math/tgmath_h.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/numerics/c.math/tgmath_h.pass.cpp?rev=283644&view=auto ============================================================================== --- libcxx/trunk/test/libcxx/numerics/c.math/tgmath_h.pass.cpp (added) +++ libcxx/trunk/test/libcxx/numerics/c.math/tgmath_h.pass.cpp Fri Oct 7 20:32:56 2016 @@ -0,0 +1,20 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <tgmath.h> + +#include <tgmath.h> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ +} Added: libcxx/trunk/test/libcxx/numerics/c.math/version_cmath.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/numerics/c.math/version_cmath.pass.cpp?rev=283644&view=auto ============================================================================== --- libcxx/trunk/test/libcxx/numerics/c.math/version_cmath.pass.cpp (added) +++ libcxx/trunk/test/libcxx/numerics/c.math/version_cmath.pass.cpp Fri Oct 7 20:32:56 2016 @@ -0,0 +1,20 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <cmath> + +#include <cmath> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ +} Added: libcxx/trunk/test/libcxx/numerics/complex.number/ccmplx/ccomplex.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/numerics/complex.number/ccmplx/ccomplex.pass.cpp?rev=283644&view=auto ============================================================================== --- libcxx/trunk/test/libcxx/numerics/complex.number/ccmplx/ccomplex.pass.cpp (added) +++ libcxx/trunk/test/libcxx/numerics/complex.number/ccmplx/ccomplex.pass.cpp Fri Oct 7 20:32:56 2016 @@ -0,0 +1,21 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <ccomplex> + +#include <ccomplex> + +#ifndef _LIBCPP_VERSION +#error _LIBCPP_VERSION not defined +#endif + +int main() +{ + std::complex<double> d; +} Modified: libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp?rev=283644&r1=283643&r2=283644&view=diff ============================================================================== --- libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp (original) +++ libcxx/trunk/test/std/depr/depr.c.headers/ciso646.pass.cpp Fri Oct 7 20:32:56 2016 @@ -11,10 +11,6 @@ #include <ciso646> -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION not defined -#endif - int main() { } Modified: libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp?rev=283644&r1=283643&r2=283644&view=diff ============================================================================== --- libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp (original) +++ libcxx/trunk/test/std/depr/depr.c.headers/complex.h.pass.cpp Fri Oct 7 20:32:56 2016 @@ -11,10 +11,6 @@ #include <complex.h> -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION not defined -#endif - int main() { std::complex<double> d; Modified: libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp?rev=283644&r1=283643&r2=283644&view=diff ============================================================================== --- libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp (original) +++ libcxx/trunk/test/std/depr/depr.c.headers/tgmath_h.pass.cpp Fri Oct 7 20:32:56 2016 @@ -11,10 +11,6 @@ #include <tgmath.h> -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION not defined -#endif - int main() { std::complex<double> cd; Modified: libcxx/trunk/test/std/numerics/c.math/ctgmath.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/c.math/ctgmath.pass.cpp?rev=283644&r1=283643&r2=283644&view=diff ============================================================================== --- libcxx/trunk/test/std/numerics/c.math/ctgmath.pass.cpp (original) +++ libcxx/trunk/test/std/numerics/c.math/ctgmath.pass.cpp Fri Oct 7 20:32:56 2016 @@ -11,10 +11,6 @@ #include <ctgmath> -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION not defined -#endif - int main() { std::complex<double> cd; Modified: libcxx/trunk/test/std/numerics/c.math/tgmath_h.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/c.math/tgmath_h.pass.cpp?rev=283644&r1=283643&r2=283644&view=diff ============================================================================== --- libcxx/trunk/test/std/numerics/c.math/tgmath_h.pass.cpp (original) +++ libcxx/trunk/test/std/numerics/c.math/tgmath_h.pass.cpp Fri Oct 7 20:32:56 2016 @@ -11,10 +11,6 @@ #include <tgmath.h> -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION not defined -#endif - int main() { } Removed: libcxx/trunk/test/std/numerics/c.math/version_cmath.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/c.math/version_cmath.pass.cpp?rev=283643&view=auto ============================================================================== --- libcxx/trunk/test/std/numerics/c.math/version_cmath.pass.cpp (original) +++ libcxx/trunk/test/std/numerics/c.math/version_cmath.pass.cpp (removed) @@ -1,20 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// <cmath> - -#include <cmath> - -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION not defined -#endif - -int main() -{ -} Modified: libcxx/trunk/test/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp?rev=283644&r1=283643&r2=283644&view=diff ============================================================================== --- libcxx/trunk/test/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp (original) +++ libcxx/trunk/test/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp Fri Oct 7 20:32:56 2016 @@ -11,10 +11,6 @@ #include <ccomplex> -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION not defined -#endif - int main() { std::complex<double> d; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits