Skip to content

Commit 707ad17

Browse files
committed
[libcxx] Fix the #endif comments
The order of comments is swapped.
1 parent 657c5bf commit 707ad17

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

libcxx/include/stdio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void perror(const char* s);
120120
# undef putchar
121121
# undef getchar
122122

123-
# endif
124-
# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
123+
# endif // __cplusplus
124+
# endif // _LIBCPP_STDIO_H
125125

126-
#endif // _LIBCPP_STDIO_H
126+
#endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)

libcxx/include/stdlib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ inline _LIBCPP_HIDE_FROM_ABI lldiv_t div(long long __x, long long __y) _NOEXCEPT
149149
# endif // _LIBCPP_MSVCRT
150150
} // extern "C++"
151151
# endif // __cplusplus
152-
# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
152+
# endif // _LIBCPP_STDLIB_H
153153

154-
#endif // _LIBCPP_STDLIB_H
154+
#endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)

libcxx/include/wchar.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,6 @@ size_t wcsnrtombs(
206206
} // extern "C"
207207
# endif // __cplusplus && (_LIBCPP_MSVCRT || __MVS__)
208208
# endif // _LIBCPP_HAS_WIDE_CHARACTERS
209-
# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
209+
# endif // _LIBCPP_WCHAR_H
210210

211-
#endif // _LIBCPP_WCHAR_H
211+
#endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)

0 commit comments

Comments
 (0)