Skip to content

Commit 19baef8

Browse files
committed
ci
1 parent efc61ca commit 19baef8

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

libcxx/include/variant

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -686,14 +686,13 @@ union _LIBCPP_TEMPLATE_VIS __union<_DestructibleTrait, _Index> {};
686686
_LIBCPP_HIDE_FROM_ABI explicit constexpr __union(in_place_index_t<_Ip>, _Args&&... __args) \
687687
: __tail(in_place_index<_Ip - 1>, std::forward<_Args>(__args)...) {} \
688688
\
689-
_LIBCPP_HIDE_FROM_ABI __union(const __union&) = default; \
690-
_LIBCPP_HIDE_FROM_ABI __union(__union&&) = default; \
691-
destructor; \
689+
_LIBCPP_HIDE_FROM_ABI __union(const __union&) = default; \
690+
_LIBCPP_HIDE_FROM_ABI __union(__union&&) = default; \
692691
_LIBCPP_HIDE_FROM_ABI __union& operator=(const __union&) = default; \
693692
_LIBCPP_HIDE_FROM_ABI __union& operator=(__union&&) = default; \
693+
destructor \
694694
\
695-
private: \
696-
char __dummy; \
695+
private : char __dummy; \
697696
__alt<_Index, _Tp> __head; \
698697
__union<destructible_trait, _Index + 1, _Types...> __tail; \
699698
\
@@ -756,14 +755,13 @@ class _LIBCPP_TEMPLATE_VIS __dtor;
756755
public: \
757756
using __base_type::__base_type; \
758757
using __base_type::operator=; \
759-
_LIBCPP_HIDE_FROM_ABI __dtor(const __dtor&) = default; \
760-
_LIBCPP_HIDE_FROM_ABI __dtor(__dtor&&) = default; \
761-
destructor; \
758+
_LIBCPP_HIDE_FROM_ABI __dtor(const __dtor&) = default; \
759+
_LIBCPP_HIDE_FROM_ABI __dtor(__dtor&&) = default; \
762760
_LIBCPP_HIDE_FROM_ABI __dtor& operator=(const __dtor&) = default; \
763761
_LIBCPP_HIDE_FROM_ABI __dtor& operator=(__dtor&&) = default; \
762+
destructor \
764763
\
765-
protected: \
766-
destroy \
764+
protected : destroy \
767765
}
768766

769767
_LIBCPP_VARIANT_DESTRUCTOR(
@@ -832,11 +830,11 @@ class _LIBCPP_TEMPLATE_VIS __move_constructor;
832830
using __base_type::__base_type; \
833831
using __base_type::operator=; \
834832
\
835-
_LIBCPP_HIDE_FROM_ABI __move_constructor(const __move_constructor&) = default; \
836-
move_constructor; \
833+
_LIBCPP_HIDE_FROM_ABI __move_constructor(const __move_constructor&) = default; \
837834
_LIBCPP_HIDE_FROM_ABI ~__move_constructor() = default; \
838835
_LIBCPP_HIDE_FROM_ABI __move_constructor& operator=(const __move_constructor&) = default; \
839836
_LIBCPP_HIDE_FROM_ABI __move_constructor& operator=(__move_constructor&&) = default; \
837+
move_constructor \
840838
}
841839

842840
_LIBCPP_VARIANT_MOVE_CONSTRUCTOR(
@@ -868,11 +866,11 @@ class _LIBCPP_TEMPLATE_VIS __copy_constructor;
868866
using __base_type::__base_type; \
869867
using __base_type::operator=; \
870868
\
871-
copy_constructor; \
872869
_LIBCPP_HIDE_FROM_ABI __copy_constructor(__copy_constructor&&) = default; \
873870
_LIBCPP_HIDE_FROM_ABI ~__copy_constructor() = default; \
874871
_LIBCPP_HIDE_FROM_ABI __copy_constructor& operator=(const __copy_constructor&) = default; \
875872
_LIBCPP_HIDE_FROM_ABI __copy_constructor& operator=(__copy_constructor&&) = default; \
873+
copy_constructor \
876874
}
877875

878876
_LIBCPP_VARIANT_COPY_CONSTRUCTOR(_Trait::_TriviallyAvailable,
@@ -996,11 +994,11 @@ class _LIBCPP_TEMPLATE_VIS __copy_assignment;
996994
using __base_type::__base_type; \
997995
using __base_type::operator=; \
998996
\
999-
_LIBCPP_HIDE_FROM_ABI __copy_assignment(const __copy_assignment&) = default; \
1000-
_LIBCPP_HIDE_FROM_ABI __copy_assignment(__copy_assignment&&) = default; \
1001-
_LIBCPP_HIDE_FROM_ABI ~__copy_assignment() = default; \
1002-
copy_assignment; \
997+
_LIBCPP_HIDE_FROM_ABI __copy_assignment(const __copy_assignment&) = default; \
998+
_LIBCPP_HIDE_FROM_ABI __copy_assignment(__copy_assignment&&) = default; \
999+
_LIBCPP_HIDE_FROM_ABI ~__copy_assignment() = default; \
10031000
_LIBCPP_HIDE_FROM_ABI __copy_assignment& operator=(__copy_assignment&&) = default; \
1001+
copy_assignment \
10041002
}
10051003

10061004
_LIBCPP_VARIANT_COPY_ASSIGNMENT(_Trait::_TriviallyAvailable,

0 commit comments

Comments
 (0)