aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-12-27 19:14:55 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-12-27 19:14:55 +0000
commit98f65fff806445875f8fb824cf9aec0ade41f19c (patch)
treed0a81e3482dfbce8f087d5b19ac6319f91fcdf20
parent3223c8e17635ad98e4063e2a27b1733f686c896f (diff)
Renaming CERT documentation files to use the CERT rule identifiers. This is for consistency with other checkers, where the documentation file name matches the checker name. NFC of the checkers.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@256474 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--clang-tidy/cert/SetLongJmpCheck.h2
-rw-r--r--clang-tidy/cert/StaticObjectExceptionCheck.h2
-rw-r--r--clang-tidy/cert/ThrownExceptionTypeCheck.h2
-rw-r--r--clang-tidy/cert/VariadicFunctionDefCheck.h2
-rw-r--r--docs/clang-tidy/checks/cert-dcl50-cpp.rst (renamed from docs/clang-tidy/checks/cert-variadic-function-def.rst)0
-rw-r--r--docs/clang-tidy/checks/cert-err52-cpp.rst (renamed from docs/clang-tidy/checks/cert-setlongjmp.rst)0
-rw-r--r--docs/clang-tidy/checks/cert-err58-cpp.rst (renamed from docs/clang-tidy/checks/cert-static-object-exception.rst)0
-rw-r--r--docs/clang-tidy/checks/cert-err60-cpp.rst (renamed from docs/clang-tidy/checks/cert-thrown-exception-type.rst)0
-rw-r--r--docs/clang-tidy/checks/list.rst8
9 files changed, 8 insertions, 8 deletions
diff --git a/clang-tidy/cert/SetLongJmpCheck.h b/clang-tidy/cert/SetLongJmpCheck.h
index 242df6b4..17fa1105 100644
--- a/clang-tidy/cert/SetLongJmpCheck.h
+++ b/clang-tidy/cert/SetLongJmpCheck.h
@@ -18,7 +18,7 @@ namespace tidy {
/// Guards against use of setjmp/longjmp in C++ code
///
/// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/cert-setlongjmp.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/cert-err52-cpp.html
class SetLongJmpCheck : public ClangTidyCheck {
public:
SetLongJmpCheck(StringRef Name, ClangTidyContext *Context)
diff --git a/clang-tidy/cert/StaticObjectExceptionCheck.h b/clang-tidy/cert/StaticObjectExceptionCheck.h
index 625aa03e..14dfb08a 100644
--- a/clang-tidy/cert/StaticObjectExceptionCheck.h
+++ b/clang-tidy/cert/StaticObjectExceptionCheck.h
@@ -19,7 +19,7 @@ namespace tidy {
/// throw.
///
/// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/cert-static-object-exception.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/cert-err58-cpp.html
class StaticObjectExceptionCheck : public ClangTidyCheck {
public:
StaticObjectExceptionCheck(StringRef Name, ClangTidyContext *Context)
diff --git a/clang-tidy/cert/ThrownExceptionTypeCheck.h b/clang-tidy/cert/ThrownExceptionTypeCheck.h
index e4c27f35..0b1d5f31 100644
--- a/clang-tidy/cert/ThrownExceptionTypeCheck.h
+++ b/clang-tidy/cert/ThrownExceptionTypeCheck.h
@@ -18,7 +18,7 @@ namespace tidy {
/// Checks whether a thrown object is nothrow copy constructible.
///
/// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/cert-thrown-exception-type.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/cert-err60-cpp.html
class ThrownExceptionTypeCheck : public ClangTidyCheck {
public:
ThrownExceptionTypeCheck(StringRef Name, ClangTidyContext *Context)
diff --git a/clang-tidy/cert/VariadicFunctionDefCheck.h b/clang-tidy/cert/VariadicFunctionDefCheck.h
index 9ee86833..74630631 100644
--- a/clang-tidy/cert/VariadicFunctionDefCheck.h
+++ b/clang-tidy/cert/VariadicFunctionDefCheck.h
@@ -18,7 +18,7 @@ namespace tidy {
/// Guards against any C-style variadic function definitions (not declarations).
///
/// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/cert-variadic-function-def.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/cert-dcl50-cpp.html
class VariadicFunctionDefCheck : public ClangTidyCheck {
public:
VariadicFunctionDefCheck(StringRef Name, ClangTidyContext *Context)
diff --git a/docs/clang-tidy/checks/cert-variadic-function-def.rst b/docs/clang-tidy/checks/cert-dcl50-cpp.rst
index 5fc1fbfb..5fc1fbfb 100644
--- a/docs/clang-tidy/checks/cert-variadic-function-def.rst
+++ b/docs/clang-tidy/checks/cert-dcl50-cpp.rst
diff --git a/docs/clang-tidy/checks/cert-setlongjmp.rst b/docs/clang-tidy/checks/cert-err52-cpp.rst
index d8be5a8d..d8be5a8d 100644
--- a/docs/clang-tidy/checks/cert-setlongjmp.rst
+++ b/docs/clang-tidy/checks/cert-err52-cpp.rst
diff --git a/docs/clang-tidy/checks/cert-static-object-exception.rst b/docs/clang-tidy/checks/cert-err58-cpp.rst
index 9fec67f0..9fec67f0 100644
--- a/docs/clang-tidy/checks/cert-static-object-exception.rst
+++ b/docs/clang-tidy/checks/cert-err58-cpp.rst
diff --git a/docs/clang-tidy/checks/cert-thrown-exception-type.rst b/docs/clang-tidy/checks/cert-err60-cpp.rst
index 9fcb840f..9fcb840f 100644
--- a/docs/clang-tidy/checks/cert-thrown-exception-type.rst
+++ b/docs/clang-tidy/checks/cert-err60-cpp.rst
diff --git a/docs/clang-tidy/checks/list.rst b/docs/clang-tidy/checks/list.rst
index bd60a325..20bc8063 100644
--- a/docs/clang-tidy/checks/list.rst
+++ b/docs/clang-tidy/checks/list.rst
@@ -4,10 +4,10 @@ Clang-Tidy Checks
=========================
.. toctree::
- cert-setlongjmp
- cert-static-object-exception
- cert-thrown-exception-type
- cert-variadic-function-def
+ cert-dcl50-cpp
+ cert-err52-cpp
+ cert-err58-cpp
+ cert-err60-cpp
cppcoreguidelines-pro-bounds-array-to-pointer-decay
cppcoreguidelines-pro-bounds-constant-array-index
cppcoreguidelines-pro-bounds-pointer-arithmetic