forked from OSchip/llvm-project
Add pragma system header to some experimental headers and add newlines to files.
llvm-svn: 228712
This commit is contained in:
parent
861d0ea2aa
commit
cc2e1ab69c
libcxx
include/experimental
test
|
@ -13,6 +13,10 @@
|
|||
|
||||
#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_END_NAMESPACE_EXPERIMENTAL } }
|
||||
#define _VSTD_EXPERIMENTAL std::experimental
|
||||
|
|
|
@ -37,6 +37,10 @@ inline namespace fundamentals_v1 {
|
|||
#include <experimental/__config>
|
||||
#include <chrono>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#if _LIBCPP_STD_VER > 11
|
||||
|
||||
_LIBCPP_BEGIN_NAMESPACE_CHRONO_LFTS
|
||||
|
|
|
@ -40,6 +40,10 @@ inline namespace fundamentals_v1 {
|
|||
|
||||
#include <system_error>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
||||
|
||||
#if __has_feature(cxx_variable_templates)
|
||||
|
|
|
@ -184,6 +184,10 @@ inline namespace fundamentals_v1 {
|
|||
|
||||
#include <type_traits>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
_LIBCPP_BEGIN_NAMESPACE_LFTS
|
||||
|
||||
#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
|
||||
|
||||
|
|
|
@ -104,4 +104,4 @@ int main () {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
@ -135,4 +135,4 @@ constexpr_char_traits<_CharT>::assign(char_type* __s, size_t __n, char_type __a)
|
|||
return __r;
|
||||
}
|
||||
|
||||
#endif // _CONSTEXPR_CHAR_TRAITS
|
||||
#endif // _CONSTEXPR_CHAR_TRAITS
|
||||
|
|
Loading…
Reference in New Issue