Skip to content

Commit

Permalink
[libcxx] Fix the #endif comments (#120949)
Browse files Browse the repository at this point in the history
The order of comments is swapped.
  • Loading branch information
petrhosek authored Dec 23, 2024
1 parent d039ac3 commit 902e62c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions libcxx/include/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void perror(const char* s);
# undef putchar
# undef getchar

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

#endif // _LIBCPP_STDIO_H
#endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
4 changes: 2 additions & 2 deletions libcxx/include/stdlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ inline _LIBCPP_HIDE_FROM_ABI lldiv_t div(long long __x, long long __y) _NOEXCEPT
# endif // _LIBCPP_MSVCRT
} // extern "C++"
# endif // __cplusplus
# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
# endif // _LIBCPP_STDLIB_H

#endif // _LIBCPP_STDLIB_H
#endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
4 changes: 2 additions & 2 deletions libcxx/include/wchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,6 @@ size_t wcsnrtombs(
} // extern "C"
# endif // __cplusplus && (_LIBCPP_MSVCRT || __MVS__)
# endif // _LIBCPP_HAS_WIDE_CHARACTERS
# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
# endif // _LIBCPP_WCHAR_H

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

0 comments on commit 902e62c

Please sign in to comment.