aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__type_traits/is_trivially_assignable.h
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2023-06-16 09:49:04 -0400
committerLouis Dionne <ldionne.2@gmail.com>2023-06-19 11:19:51 -0400
commit5aa03b648b827128d439f705cd7d57d59673741d (patch)
tree6ada9368c49b6a8559b1dddf301e402767255606 /libcxx/include/__type_traits/is_trivially_assignable.h
parent923dbb01ea6be1ec919d0b71b34551ae91169bc7 (diff)
downloadllvm-5aa03b648b827128d439f705cd7d57d59673741d.zip
llvm-5aa03b648b827128d439f705cd7d57d59673741d.tar.gz
llvm-5aa03b648b827128d439f705cd7d57d59673741d.tar.bz2
[libc++][NFC] Apply clang-format on large parts of the code base
This commit does a pass of clang-format over files in libc++ that don't require major changes to conform to our style guide, or for which we're not overly concerned about conflicting with in-flight patches or hindering the git blame. This roughly covers: - benchmarks - range algorithms - concepts - type traits I did a manual verification of all the changes, and in particular I applied clang-format on/off annotations in a few places where the result was less readable after than before. This was not necessary in a lot of places, however I did find that clang-format had pretty bad taste when it comes to formatting concepts. Differential Revision: https://reviews.llvm.org/D153140
Diffstat (limited to 'libcxx/include/__type_traits/is_trivially_assignable.h')
-rw-r--r--libcxx/include/__type_traits/is_trivially_assignable.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcxx/include/__type_traits/is_trivially_assignable.h b/libcxx/include/__type_traits/is_trivially_assignable.h
index c16d177..19169d1 100644
--- a/libcxx/include/__type_traits/is_trivially_assignable.h
+++ b/libcxx/include/__type_traits/is_trivially_assignable.h
@@ -19,9 +19,7 @@
_LIBCPP_BEGIN_NAMESPACE_STD
template <class _Tp, class _Arg>
-struct is_trivially_assignable
- : integral_constant<bool, __is_trivially_assignable(_Tp, _Arg)>
-{ };
+struct is_trivially_assignable : integral_constant<bool, __is_trivially_assignable(_Tp, _Arg)> {};
#if _LIBCPP_STD_VER >= 17
template <class _Tp, class _Arg>