Skip to content

Commit 902e62c

Browse files
authored
[libcxx] Fix the #endif comments (#120949)
The order of comments is swapped.
1 parent d039ac3 commit 902e62c

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
@@ -116,7 +116,7 @@ void perror(const char* s);
116116
# undef putchar
117117
# undef getchar
118118

119-
# endif
120-
# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
119+
# endif // __cplusplus
120+
# endif // _LIBCPP_STDIO_H
121121

122-
#endif // _LIBCPP_STDIO_H
122+
#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
@@ -145,6 +145,6 @@ inline _LIBCPP_HIDE_FROM_ABI lldiv_t div(long long __x, long long __y) _NOEXCEPT
145145
# endif // _LIBCPP_MSVCRT
146146
} // extern "C++"
147147
# endif // __cplusplus
148-
# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
148+
# endif // _LIBCPP_STDLIB_H
149149

150-
#endif // _LIBCPP_STDLIB_H
150+
#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
@@ -202,6 +202,6 @@ size_t wcsnrtombs(
202202
} // extern "C"
203203
# endif // __cplusplus && (_LIBCPP_MSVCRT || __MVS__)
204204
# endif // _LIBCPP_HAS_WIDE_CHARACTERS
205-
# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
205+
# endif // _LIBCPP_WCHAR_H
206206

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

0 commit comments

Comments
 (0)