Author: ericwf Date: Fri Oct 28 17:54:24 2016 New Revision: 285469 URL: http://llvm.org/viewvc/llvm-project?rev=285469&view=rev Log: Remove files missed in r285466
Removed: libcxx/trunk/src/libcpp_version.cpp libcxx/trunk/test/libcxx/version.pass.cpp Removed: libcxx/trunk/src/libcpp_version.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/libcpp_version.cpp?rev=285468&view=auto ============================================================================== --- libcxx/trunk/src/libcpp_version.cpp (original) +++ libcxx/trunk/src/libcpp_version.cpp (removed) @@ -1,14 +0,0 @@ -#include "__config" - -_LIBCPP_BEGIN_NAMESPACE_STD - -// Test that _LIBCPP_VERSION and __libcpp_version are in sync. -// The __libcpp_version file stores only a number representing the libc++ -// version so it can be easily parsed by clang. -static_assert(_LIBCPP_VERSION == -#include "__libcpp_version" - , "version file does not match"); - -int __libcpp_library_version() { return _LIBCPP_VERSION; } - -_LIBCPP_END_NAMESPACE_STD Removed: libcxx/trunk/test/libcxx/version.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/version.pass.cpp?rev=285468&view=auto ============================================================================== --- libcxx/trunk/test/libcxx/version.pass.cpp (original) +++ libcxx/trunk/test/libcxx/version.pass.cpp (removed) @@ -1,31 +0,0 @@ -// -*- C++ -*- -//===----------------------------------------------------------------------===// -// -// 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. -// -//===----------------------------------------------------------------------===// - -// UNSUPPORTED: with_system_cxx_lib - -// Test the _LIBCPP_VERSION and _LIBCPP_LIBRARY_VERSION macros - -#include <__config> - -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION must be defined -#endif - -#ifndef _LIBCPP_LIBRARY_VERSION -#error _LIBCPP_LIBRARY_VERSION must be defined -#endif - -#include <cassert> - -int main() { - assert(_LIBCPP_VERSION == _LIBCPP_LIBRARY_VERSION); - assert(std::__libcpp_library_version); - assert(_LIBCPP_LIBRARY_VERSION == std::__libcpp_library_version()); -} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits