File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 38
38
# define _LIBCPP_FREESTANDING
39
39
# endif
40
40
41
+ // NOLINTNEXTLINE(libcpp-cpp-version-check)
42
+ # if __cplusplus < 201103L
43
+ # define _LIBCPP_CXX03_LANG
44
+ # endif
45
+
41
46
# if __has_feature(experimental_library)
42
47
# ifndef _LIBCPP_ENABLE_EXPERIMENTAL
43
48
# define _LIBCPP_ENABLE_EXPERIMENTAL
@@ -213,11 +218,6 @@ _LIBCPP_HARDENING_MODE_DEBUG
213
218
# define _LIBCPP_TOSTRING2 (x ) #x
214
219
# define _LIBCPP_TOSTRING (x ) _LIBCPP_TOSTRING2(x)
215
220
216
- // NOLINTNEXTLINE(libcpp-cpp-version-check)
217
- # if __cplusplus < 201103L
218
- # define _LIBCPP_CXX03_LANG
219
- # endif
220
-
221
221
# ifndef __has_constexpr_builtin
222
222
# define __has_constexpr_builtin (x ) 0
223
223
# endif
Original file line number Diff line number Diff line change 25
25
# pragma GCC system_header
26
26
#endif
27
27
28
- #if defined(_LIBCPP_CXX03_LANG) && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
28
+ #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
29
29
30
30
// Keep the old implementation that doesn't support assertion semantics for backward compatibility with the frozen C++03
31
31
// mode.
@@ -59,6 +59,6 @@ _LIBCPP_ASSERTION_SEMANTIC_ENFORCE
59
59
60
60
# endif // _LIBCPP_ASSERTION_SEMANTIC == _LIBCPP_ASSERTION_SEMANTIC_IGNORE
61
61
62
- #endif // defined(_LIBCPP_CXX03_LANG) && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
62
+ #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
63
63
64
64
#endif // _LIBCPP___ASSERTION_HANDLER
You can’t perform that action at this time.
0 commit comments