summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst')
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst b/clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst
index cc2e6e6e2c9..06c339a912a 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc-move-constructor-init.rst
@@ -11,3 +11,18 @@ move constructor.
It also flags constructor arguments that are passed by value, have a non-deleted
move-constructor and are assigned to a class field by copy construction.
+
+Options
+-------
+
+.. option:: IncludeStyle
+
+ A string specifying which include-style is used, `llvm` or `google`. Default
+ is `llvm`.
+
+.. option:: UseCERTSemantics
+
+ When non-zero, the check conforms to the behavior expected by the CERT secure
+ coding recommendation
+ `OOP11-CPP <https://www.securecoding.cert.org/confluence/display/cplusplus/OOP11-CPP.+Do+not+copy-initialize+members+or+base+classes+from+a+move+constructor>`_.
+ Default is `0` for misc-move-constructor-init and `1` for cert-oop11-cpp.
OpenPOWER on IntegriCloud