summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst')
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst b/clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst
new file mode 100644
index 00000000000..d8be5a8dd9a
--- /dev/null
+++ b/clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst
@@ -0,0 +1,10 @@
+.. title:: clang-tidy - cert-err52-cpp
+
+cert-err52-cpp
+==============
+
+This check flags all call expressions involving setjmp() and longjmp().
+
+This check corresponds to the CERT C++ Coding Standard rule
+`ERR52-CPP. Do not use setjmp() or longjmp()
+<https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=1834>`_.
OpenPOWER on IntegriCloud