Debian Codegraph @

llvm-project/clang-tools-extra/docs/clang-tidy/checks/cert/oop11-cpp.rst

raw
1 .. title:: clang-tidy - cert-oop11-cpp
2 .. meta::
3 :http-equiv=refresh: 5;URL=../performance/move-constructor-init.html
4
5 cert-oop11-cpp
6 ==============
7
8 The cert-oop11-cpp check is an alias, please see
9 `performance-move-constructor-init <../performance/move-constructor-init.html>`_
10 for more information.
11
12 This check corresponds to the CERT C++ Coding Standard recommendation
13 OOP11-CPP. Do not copy-initialize members or base classes from a move
14 constructor. However, all of the CERT recommendations have been removed from
15 public view, and so their justification for the behavior of this check requires
16 an account on their wiki to view.