Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc++][C++03] Update include guards #109001

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/adjacent_find.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_ADJACENT_FIND_H
#define _LIBCPP___ALGORITHM_ADJACENT_FIND_H
#ifndef _LIBCPP___CXX03___ALGORITHM_ADJACENT_FIND_H
#define _LIBCPP___CXX03___ALGORITHM_ADJACENT_FIND_H

#include <__cxx03/__algorithm/comp.h>
#include <__cxx03/__algorithm/iterator_operations.h>
Expand Down Expand Up @@ -55,4 +55,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_ADJACENT_FIND_H
#endif // _LIBCPP___CXX03___ALGORITHM_ADJACENT_FIND_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/all_of.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_ALL_OF_H
#define _LIBCPP___ALGORITHM_ALL_OF_H
#ifndef _LIBCPP___CXX03___ALGORITHM_ALL_OF_H
#define _LIBCPP___CXX03___ALGORITHM_ALL_OF_H

#include <__cxx03/__config>

Expand All @@ -29,4 +29,4 @@ all_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) {

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_ALL_OF_H
#endif // _LIBCPP___CXX03___ALGORITHM_ALL_OF_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/any_of.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_ANY_OF_H
#define _LIBCPP___ALGORITHM_ANY_OF_H
#ifndef _LIBCPP___CXX03___ALGORITHM_ANY_OF_H
#define _LIBCPP___CXX03___ALGORITHM_ANY_OF_H

#include <__cxx03/__config>

Expand All @@ -29,4 +29,4 @@ any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) {

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_ANY_OF_H
#endif // _LIBCPP___CXX03___ALGORITHM_ANY_OF_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/binary_search.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_BINARY_SEARCH_H
#define _LIBCPP___ALGORITHM_BINARY_SEARCH_H
#ifndef _LIBCPP___CXX03___ALGORITHM_BINARY_SEARCH_H
#define _LIBCPP___CXX03___ALGORITHM_BINARY_SEARCH_H

#include <__cxx03/__algorithm/comp.h>
#include <__cxx03/__algorithm/comp_ref_type.h>
Expand Down Expand Up @@ -36,4 +36,4 @@ binary_search(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __va

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_BINARY_SEARCH_H
#endif // _LIBCPP___CXX03___ALGORITHM_BINARY_SEARCH_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/clamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_CLAMP_H
#define _LIBCPP___ALGORITHM_CLAMP_H
#ifndef _LIBCPP___CXX03___ALGORITHM_CLAMP_H
#define _LIBCPP___CXX03___ALGORITHM_CLAMP_H

#include <__cxx03/__algorithm/comp.h>
#include <__cxx03/__assert>
Expand Down Expand Up @@ -41,4 +41,4 @@ clamp(_LIBCPP_LIFETIMEBOUND const _Tp& __v,

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_CLAMP_H
#endif // _LIBCPP___CXX03___ALGORITHM_CLAMP_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/comp.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COMP_H
#define _LIBCPP___ALGORITHM_COMP_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COMP_H
#define _LIBCPP___CXX03___ALGORITHM_COMP_H

#include <__cxx03/__config>
#include <__cxx03/__type_traits/desugars_to.h>
Expand Down Expand Up @@ -46,4 +46,4 @@ inline const bool __desugars_to_v<__less_tag, __less<>, _Tp, _Tp> = true;

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_COMP_H
#endif // _LIBCPP___CXX03___ALGORITHM_COMP_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/comp_ref_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COMP_REF_TYPE_H
#define _LIBCPP___ALGORITHM_COMP_REF_TYPE_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COMP_REF_TYPE_H
#define _LIBCPP___CXX03___ALGORITHM_COMP_REF_TYPE_H

#include <__cxx03/__assert>
#include <__cxx03/__config>
Expand Down Expand Up @@ -64,4 +64,4 @@ using __comp_ref_type = _Comp&;

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_COMP_REF_TYPE_H
#endif // _LIBCPP___CXX03___ALGORITHM_COMP_REF_TYPE_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/copy.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COPY_H
#define _LIBCPP___ALGORITHM_COPY_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COPY_H
#define _LIBCPP___CXX03___ALGORITHM_COPY_H

#include <__cxx03/__algorithm/copy_move_common.h>
#include <__cxx03/__algorithm/for_each_segment.h>
Expand Down Expand Up @@ -120,4 +120,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_COPY_H
#endif // _LIBCPP___CXX03___ALGORITHM_COPY_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/copy_backward.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COPY_BACKWARD_H
#define _LIBCPP___ALGORITHM_COPY_BACKWARD_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COPY_BACKWARD_H
#define _LIBCPP___CXX03___ALGORITHM_COPY_BACKWARD_H

#include <__cxx03/__algorithm/copy_move_common.h>
#include <__cxx03/__algorithm/iterator_operations.h>
Expand Down Expand Up @@ -134,4 +134,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_COPY_BACKWARD_H
#endif // _LIBCPP___CXX03___ALGORITHM_COPY_BACKWARD_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/copy_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COPY_IF_H
#define _LIBCPP___ALGORITHM_COPY_IF_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COPY_IF_H
#define _LIBCPP___CXX03___ALGORITHM_COPY_IF_H

#include <__cxx03/__config>

Expand All @@ -31,4 +31,4 @@ copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result,

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_COPY_IF_H
#endif // _LIBCPP___CXX03___ALGORITHM_COPY_IF_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/copy_move_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COPY_MOVE_COMMON_H
#define _LIBCPP___ALGORITHM_COPY_MOVE_COMMON_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COPY_MOVE_COMMON_H
#define _LIBCPP___CXX03___ALGORITHM_COPY_MOVE_COMMON_H

#include <__cxx03/__algorithm/iterator_operations.h>
#include <__cxx03/__algorithm/unwrap_iter.h>
Expand Down Expand Up @@ -111,4 +111,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_COPY_MOVE_COMMON_H
#endif // _LIBCPP___CXX03___ALGORITHM_COPY_MOVE_COMMON_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/copy_n.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COPY_N_H
#define _LIBCPP___ALGORITHM_COPY_N_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COPY_N_H
#define _LIBCPP___CXX03___ALGORITHM_COPY_N_H

#include <__cxx03/__algorithm/copy.h>
#include <__cxx03/__config>
Expand Down Expand Up @@ -57,4 +57,4 @@ copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result) {

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_COPY_N_H
#endif // _LIBCPP___CXX03___ALGORITHM_COPY_N_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/count.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COUNT_H
#define _LIBCPP___ALGORITHM_COUNT_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COUNT_H
#define _LIBCPP___CXX03___ALGORITHM_COUNT_H

#include <__cxx03/__algorithm/iterator_operations.h>
#include <__cxx03/__algorithm/min.h>
Expand Down Expand Up @@ -89,4 +89,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_COUNT_H
#endif // _LIBCPP___CXX03___ALGORITHM_COUNT_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/count_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_COUNT_IF_H
#define _LIBCPP___ALGORITHM_COUNT_IF_H
#ifndef _LIBCPP___CXX03___ALGORITHM_COUNT_IF_H
#define _LIBCPP___CXX03___ALGORITHM_COUNT_IF_H

#include <__cxx03/__config>
#include <__cxx03/__iterator/iterator_traits.h>
Expand All @@ -32,4 +32,4 @@ count_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) {

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_COUNT_IF_H
#endif // _LIBCPP___CXX03___ALGORITHM_COUNT_IF_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/equal.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_EQUAL_H
#define _LIBCPP___ALGORITHM_EQUAL_H
#ifndef _LIBCPP___CXX03___ALGORITHM_EQUAL_H
#define _LIBCPP___CXX03___ALGORITHM_EQUAL_H

#include <__cxx03/__algorithm/comp.h>
#include <__cxx03/__algorithm/unwrap_iter.h>
Expand Down Expand Up @@ -130,4 +130,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_EQUAL_H
#endif // _LIBCPP___CXX03___ALGORITHM_EQUAL_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/equal_range.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_EQUAL_RANGE_H
#define _LIBCPP___ALGORITHM_EQUAL_RANGE_H
#ifndef _LIBCPP___CXX03___ALGORITHM_EQUAL_RANGE_H
#define _LIBCPP___CXX03___ALGORITHM_EQUAL_RANGE_H

#include <__cxx03/__algorithm/comp.h>
#include <__cxx03/__algorithm/comp_ref_type.h>
Expand Down Expand Up @@ -82,4 +82,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_EQUAL_RANGE_H
#endif // _LIBCPP___CXX03___ALGORITHM_EQUAL_RANGE_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/fill.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_FILL_H
#define _LIBCPP___ALGORITHM_FILL_H
#ifndef _LIBCPP___CXX03___ALGORITHM_FILL_H
#define _LIBCPP___CXX03___ALGORITHM_FILL_H

#include <__cxx03/__algorithm/fill_n.h>
#include <__cxx03/__config>
Expand Down Expand Up @@ -42,4 +42,4 @@ fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) {

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_FILL_H
#endif // _LIBCPP___CXX03___ALGORITHM_FILL_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/fill_n.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_FILL_N_H
#define _LIBCPP___ALGORITHM_FILL_N_H
#ifndef _LIBCPP___CXX03___ALGORITHM_FILL_N_H
#define _LIBCPP___CXX03___ALGORITHM_FILL_N_H

#include <__cxx03/__algorithm/min.h>
#include <__cxx03/__config>
Expand Down Expand Up @@ -95,4 +95,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_FILL_N_H
#endif // _LIBCPP___CXX03___ALGORITHM_FILL_N_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/find.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_FIND_H
#define _LIBCPP___ALGORITHM_FIND_H
#ifndef _LIBCPP___CXX03___ALGORITHM_FIND_H
#define _LIBCPP___CXX03___ALGORITHM_FIND_H

#include <__cxx03/__algorithm/find_segment_if.h>
#include <__cxx03/__algorithm/min.h>
Expand Down Expand Up @@ -178,4 +178,4 @@ _LIBCPP_END_NAMESPACE_STD

_LIBCPP_POP_MACROS

#endif // _LIBCPP___ALGORITHM_FIND_H
#endif // _LIBCPP___CXX03___ALGORITHM_FIND_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/find_end.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_FIND_END_OF_H
#define _LIBCPP___ALGORITHM_FIND_END_OF_H
#ifndef _LIBCPP___CXX03___ALGORITHM_FIND_END_OF_H
#define _LIBCPP___CXX03___ALGORITHM_FIND_END_OF_H

#include <__cxx03/__algorithm/comp.h>
#include <__cxx03/__algorithm/iterator_operations.h>
Expand Down Expand Up @@ -222,4 +222,4 @@ find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_FIND_END_OF_H
#endif // _LIBCPP___CXX03___ALGORITHM_FIND_END_OF_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/find_first_of.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_FIND_FIRST_OF_H
#define _LIBCPP___ALGORITHM_FIND_FIRST_OF_H
#ifndef _LIBCPP___CXX03___ALGORITHM_FIND_FIRST_OF_H
#define _LIBCPP___CXX03___ALGORITHM_FIND_FIRST_OF_H

#include <__cxx03/__algorithm/comp.h>
#include <__cxx03/__config>
Expand Down Expand Up @@ -52,4 +52,4 @@ _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Fo

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_FIND_FIRST_OF_H
#endif // _LIBCPP___CXX03___ALGORITHM_FIND_FIRST_OF_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/find_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_FIND_IF_H
#define _LIBCPP___ALGORITHM_FIND_IF_H
#ifndef _LIBCPP___CXX03___ALGORITHM_FIND_IF_H
#define _LIBCPP___CXX03___ALGORITHM_FIND_IF_H

#include <__cxx03/__config>

Expand All @@ -29,4 +29,4 @@ find_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) {

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_FIND_IF_H
#endif // _LIBCPP___CXX03___ALGORITHM_FIND_IF_H
6 changes: 3 additions & 3 deletions libcxx/include/__cxx03/__algorithm/find_if_not.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _LIBCPP___ALGORITHM_FIND_IF_NOT_H
#define _LIBCPP___ALGORITHM_FIND_IF_NOT_H
#ifndef _LIBCPP___CXX03___ALGORITHM_FIND_IF_NOT_H
#define _LIBCPP___CXX03___ALGORITHM_FIND_IF_NOT_H

#include <__cxx03/__config>

Expand All @@ -29,4 +29,4 @@ find_if_not(_InputIterator __first, _InputIterator __last, _Predicate __pred) {

_LIBCPP_END_NAMESPACE_STD

#endif // _LIBCPP___ALGORITHM_FIND_IF_NOT_H
#endif // _LIBCPP___CXX03___ALGORITHM_FIND_IF_NOT_H
Loading
Loading