[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / docs / clang-tidy / checks / performance / noexcept-move-constructor.rst
blob05f1d85f1af5a9db9f32542119361ef4f05ad43e
1 .. title:: clang-tidy - performance-noexcept-move-constructor
3 performance-noexcept-move-constructor
4 =====================================
7 The check flags user-defined move constructors and assignment operators not
8 marked with ``noexcept`` or marked with ``noexcept(expr)`` where ``expr``
9 evaluates to ``false`` (but is not a ``false`` literal itself).
11 Move constructors of all the types used with STL containers, for example,
12 need to be declared ``noexcept``. Otherwise STL will choose copy constructors
13 instead. The same is valid for move assignment operations.