llvm/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/noexcept-swap.rst

.. title:: clang-tidy - cppcoreguidelines-noexcept-swap
.. meta::
   :http-equiv=refresh: 5;URL=../performance/noexcept-swap.html

cppcoreguidelines-noexcept-swap
===============================

This check implements `C.83 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c83-for-value-like-types-consider-providing-a-noexcept-swap-function>`_
, `C.84 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c84-a-swap-function-must-not-fail>`_
and `C.85 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c85-make-swap-noexcept>`_
from the C++ Core Guidelines.

The `cppcoreguidelines-noexcept-swap check` is an alias, please see
:doc:`performance-noexcept-swap <../performance/noexcept-swap>`
for more information.