summaryrefslogtreecommitdiffstats
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
commita6ab2efed2cf1de99c80e19cbfad2258fdfdefb1 (patch)
treeb7ba479f87c641a694d2cbb81881de3c12cac95f
parent4b939405c5d7c389d27942d6bc04ac26fbdd238c (diff)
downloadbcm5719-llvm-a6ab2efed2cf1de99c80e19cbfad2258fdfdefb1.tar.gz
bcm5719-llvm-a6ab2efed2cf1de99c80e19cbfad2258fdfdefb1.zip
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.
llvm-svn: 256474
-rw-r--r--clang-tools-extra/clang-tidy/cert/SetLongJmpCheck.h2
-rw-r--r--clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.h2
-rw-r--r--clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.h2
-rw-r--r--clang-tools-extra/clang-tidy/cert/VariadicFunctionDefCheck.h2
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/cert-dcl50-cpp.rst (renamed from clang-tools-extra/docs/clang-tidy/checks/cert-variadic-function-def.rst)0
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst (renamed from clang-tools-extra/docs/clang-tidy/checks/cert-setlongjmp.rst)0
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/cert-err58-cpp.rst (renamed from clang-tools-extra/docs/clang-tidy/checks/cert-static-object-exception.rst)0
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst (renamed from clang-tools-extra/docs/clang-tidy/checks/cert-thrown-exception-type.rst)0
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/list.rst8
9 files changed, 8 insertions, 8 deletions
diff --git a/clang-tools-extra/clang-tidy/cert/SetLongJmpCheck.h b/clang-tools-extra/clang-tidy/cert/SetLongJmpCheck.h
index 242df6b4dff..17fa11056c5 100644
--- a/clang-tools-extra/clang-tidy/cert/SetLongJmpCheck.h
+++ b/clang-tools-extra/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-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.h b/clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.h
index 625aa03ed89..14dfb08a9a8 100644
--- a/clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.h
+++ b/clang-tools-extra/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-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.h b/clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.h
index e4c27f3552c..0b1d5f31eef 100644
--- a/clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.h
+++ b/clang-tools-extra/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-tools-extra/clang-tidy/cert/VariadicFunctionDefCheck.h b/clang-tools-extra/clang-tidy/cert/VariadicFunctionDefCheck.h
index 9ee86833104..746306314ac 100644
--- a/clang-tools-extra/clang-tidy/cert/VariadicFunctionDefCheck.h
+++ b/clang-tools-extra/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/clang-tools-extra/docs/clang-tidy/checks/cert-variadic-function-def.rst b/clang-tools-extra/docs/clang-tidy/checks/cert-dcl50-cpp.rst
index 5fc1fbfbb58..5fc1fbfbb58 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/cert-variadic-function-def.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/cert-dcl50-cpp.rst
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cert-setlongjmp.rst b/clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst
index d8be5a8dd9a..d8be5a8dd9a 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/cert-setlongjmp.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/cert-err52-cpp.rst
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cert-static-object-exception.rst b/clang-tools-extra/docs/clang-tidy/checks/cert-err58-cpp.rst
index 9fec67f0ec4..9fec67f0ec4 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/cert-static-object-exception.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/cert-err58-cpp.rst
diff --git a/clang-tools-extra/docs/clang-tidy/checks/cert-thrown-exception-type.rst b/clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst
index 9fcb840fc06..9fcb840fc06 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/cert-thrown-exception-type.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/cert-err60-cpp.rst
diff --git a/clang-tools-extra/docs/clang-tidy/checks/list.rst b/clang-tools-extra/docs/clang-tidy/checks/list.rst
index bd60a325f56..20bc8063b68 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/list.rst
+++ b/clang-tools-extra/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
OpenPOWER on IntegriCloud