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)
|
||||||
|
@ -32,9 +32,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
|
||||||
|
|
||||||
struct _LIBCPP_TYPE_VIS_ONLY erased_type { };
|
struct _LIBCPP_TYPE_VIS_ONLY erased_type { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user