Add pragma system header to some experimental headers and add newlines to files.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@228712 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5495e2efb9
commit
47b9a9a286
@ -13,6 +13,10 @@
|
|||||||
|
|
||||||
#include <__config>
|
#include <__config>
|
||||||
|
|
||||||
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||||
|
#pragma GCC system_header
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL namespace std { namespace experimental {
|
#define _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL namespace std { namespace experimental {
|
||||||
#define _LIBCPP_END_NAMESPACE_EXPERIMENTAL } }
|
#define _LIBCPP_END_NAMESPACE_EXPERIMENTAL } }
|
||||||
#define _VSTD_EXPERIMENTAL std::experimental
|
#define _VSTD_EXPERIMENTAL std::experimental
|
||||||
|
@ -37,6 +37,10 @@ inline namespace fundamentals_v1 {
|
|||||||
#include <experimental/__config>
|
#include <experimental/__config>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||||
|
#pragma GCC system_header
|
||||||
|
#endif
|
||||||
|
|
||||||
#if _LIBCPP_STD_VER > 11
|
#if _LIBCPP_STD_VER > 11
|
||||||
|
|
||||||
_LIBCPP_BEGIN_NAMESPACE_CHRONO_LFTS
|
_LIBCPP_BEGIN_NAMESPACE_CHRONO_LFTS
|
||||||
|
@ -40,6 +40,10 @@ inline namespace fundamentals_v1 {
|
|||||||
|
|
||||||
#include <system_error>
|
#include <system_error>
|
||||||
|
|
||||||
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||||
|
#pragma GCC system_header
|
||||||
|
#endif
|
||||||
|
|
||||||
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
||||||
|
|
||||||
#if __has_feature(cxx_variable_templates)
|
#if __has_feature(cxx_variable_templates)
|
||||||
|
@ -184,6 +184,10 @@ inline namespace fundamentals_v1 {
|
|||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||||
|
#pragma GCC system_header
|
||||||
|
#endif
|
||||||
|
|
||||||
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
||||||
|
|
||||||
#if __has_feature(cxx_variable_templates)
|
#if __has_feature(cxx_variable_templates)
|
||||||
|
@ -31,9 +31,12 @@ inline namespace fundamentals_v1 {
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
# include <experimental/__config>
|
#include <experimental/__config>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
# include <utility>
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||||
|
#pragma GCC system_header
|
||||||
|
#endif
|
||||||
|
|
||||||
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
||||||
|
|
||||||
|
@ -104,4 +104,4 @@ int main () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -135,4 +135,4 @@ constexpr_char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a)
|
|||||||
return __r;
|
return __r;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // _CONSTEXPR_CHAR_TRAITS
|
#endif // _CONSTEXPR_CHAR_TRAITS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user