[libc++] Turn off clang-format for auto-generated version header. NFC.

This commit is contained in:
Marek Kurdej
2021-02-19 14:10:12 +01:00
committed by Marek Kurdej
parent ef8b3b5ffd
commit bcb5a124ae
2 changed files with 8 additions and 0 deletions

View File

@@ -170,6 +170,8 @@ __cpp_lib_void_t 201411L <type_traits>
#pragma GCC system_header
#endif
// clang-format off
#if _LIBCPP_STD_VER > 11
# define __cpp_lib_chrono_udls 201304L
# define __cpp_lib_complex_udls 201309L
@@ -365,4 +367,6 @@ __cpp_lib_void_t 201411L <type_traits>
# define __cpp_lib_string_contains 202011L
#endif
// clang-format on
#endif // _LIBCPP_VERSIONH

View File

@@ -820,8 +820,12 @@ def produce_version_header():
#pragma GCC system_header
#endif
// clang-format off
{cxx_macros}
// clang-format on
#endif // _LIBCPP_VERSIONH
"""