xref: /llvm-project/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/noexcept-swap.rst (revision 8407e8a80d9d32a7cbd7ca1d733620559fda829d)
1.. title:: clang-tidy - cppcoreguidelines-noexcept-swap
2.. meta::
3   :http-equiv=refresh: 5;URL=../performance/noexcept-swap.html
4
5cppcoreguidelines-noexcept-swap
6===============================
7
8This check implements `C.83 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c83-for-value-like-types-consider-providing-a-noexcept-swap-function>`_
9, `C.84 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c84-a-swap-function-must-not-fail>`_
10and `C.85 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c85-make-swap-noexcept>`_
11from the C++ Core Guidelines.
12
13The `cppcoreguidelines-noexcept-swap check` is an alias, please see
14:doc:`performance-noexcept-swap <../performance/noexcept-swap>`
15for more information.
16