summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst')
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst b/clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst
new file mode 100644
index 00000000000..9fcb840fc06
--- /dev/null
+++ b/clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst
@@ -0,0 +1,11 @@
+.. title:: clang-tidy - cert-err60-cpp
+
+cert-err60-cpp
+==============
+
+This check flags all throw expressions where the exception object is not nothrow
+copy constructible.
+
+This check corresponds to the CERT C++ Coding Standard rule
+`ERR60-CPP. Exception objects must be nothrow copy constructible
+<https://www.securecoding.cert.org/confluence/display/cplusplus/ERR60-CPP.+Exception+objects+must+be+nothrow+copy+constructible>`_.
OpenPOWER on IntegriCloud