Author: aaronballman
Date: Sun Dec 27 13:14:55 2015
New Revision: 256474

URL: http://llvm.org/viewvc/llvm-project?rev=256474&view=rev
Log:
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.

Added:
    clang-tools-extra/trunk/docs/clang-tidy/checks/cert-dcl50-cpp.rst
      - copied unchanged from r256473, 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-variadic-function-def.rst
    clang-tools-extra/trunk/docs/clang-tidy/checks/cert-err52-cpp.rst
      - copied unchanged from r256473, 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-setlongjmp.rst
    clang-tools-extra/trunk/docs/clang-tidy/checks/cert-err58-cpp.rst
      - copied unchanged from r256473, 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-static-object-exception.rst
    clang-tools-extra/trunk/docs/clang-tidy/checks/cert-err60-cpp.rst
      - copied unchanged from r256473, 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-thrown-exception-type.rst
Removed:
    clang-tools-extra/trunk/docs/clang-tidy/checks/cert-setlongjmp.rst
    
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-static-object-exception.rst
    
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-thrown-exception-type.rst
    
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-variadic-function-def.rst
Modified:
    clang-tools-extra/trunk/clang-tidy/cert/SetLongJmpCheck.h
    clang-tools-extra/trunk/clang-tidy/cert/StaticObjectExceptionCheck.h
    clang-tools-extra/trunk/clang-tidy/cert/ThrownExceptionTypeCheck.h
    clang-tools-extra/trunk/clang-tidy/cert/VariadicFunctionDefCheck.h
    clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst

Modified: clang-tools-extra/trunk/clang-tidy/cert/SetLongJmpCheck.h
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/cert/SetLongJmpCheck.h?rev=256474&r1=256473&r2=256474&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/cert/SetLongJmpCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/cert/SetLongJmpCheck.h Sun Dec 27 
13:14:55 2015
@@ -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)

Modified: clang-tools-extra/trunk/clang-tidy/cert/StaticObjectExceptionCheck.h
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/cert/StaticObjectExceptionCheck.h?rev=256474&r1=256473&r2=256474&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/cert/StaticObjectExceptionCheck.h 
(original)
+++ clang-tools-extra/trunk/clang-tidy/cert/StaticObjectExceptionCheck.h Sun 
Dec 27 13:14:55 2015
@@ -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)

Modified: clang-tools-extra/trunk/clang-tidy/cert/ThrownExceptionTypeCheck.h
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/cert/ThrownExceptionTypeCheck.h?rev=256474&r1=256473&r2=256474&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/cert/ThrownExceptionTypeCheck.h 
(original)
+++ clang-tools-extra/trunk/clang-tidy/cert/ThrownExceptionTypeCheck.h Sun Dec 
27 13:14:55 2015
@@ -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)

Modified: clang-tools-extra/trunk/clang-tidy/cert/VariadicFunctionDefCheck.h
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/cert/VariadicFunctionDefCheck.h?rev=256474&r1=256473&r2=256474&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/cert/VariadicFunctionDefCheck.h 
(original)
+++ clang-tools-extra/trunk/clang-tidy/cert/VariadicFunctionDefCheck.h Sun Dec 
27 13:14:55 2015
@@ -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)

Removed: clang-tools-extra/trunk/docs/clang-tidy/checks/cert-setlongjmp.rst
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/cert-setlongjmp.rst?rev=256473&view=auto
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/cert-setlongjmp.rst 
(original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/cert-setlongjmp.rst (removed)
@@ -1,10 +0,0 @@
-.. 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>`_.

Removed: 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-static-object-exception.rst
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/cert-static-object-exception.rst?rev=256473&view=auto
==============================================================================
--- 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-static-object-exception.rst 
(original)
+++ 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-static-object-exception.rst 
(removed)
@@ -1,11 +0,0 @@
-.. title:: clang-tidy - cert-err58-cpp
-
-cert-err58-cpp
-==============
-
-This check flags all static or thread_local variable declarations where the
-constructor for the object may throw an exception.
-
-This check corresponds to the CERT C++ Coding Standard rule
-`ERR58-CPP. Constructors of objects with static or thread storage duration 
must not throw exceptions
-<https://www.securecoding.cert.org/confluence/display/cplusplus/ERR58-CPP.+Constructors+of+objects+with+static+or+thread+storage+duration+must+not+throw+exceptions>`_.

Removed: 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-thrown-exception-type.rst
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/cert-thrown-exception-type.rst?rev=256473&view=auto
==============================================================================
--- 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-thrown-exception-type.rst 
(original)
+++ 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-thrown-exception-type.rst 
(removed)
@@ -1,11 +0,0 @@
-.. 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>`_.

Removed: 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-variadic-function-def.rst
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/cert-variadic-function-def.rst?rev=256473&view=auto
==============================================================================
--- 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-variadic-function-def.rst 
(original)
+++ 
clang-tools-extra/trunk/docs/clang-tidy/checks/cert-variadic-function-def.rst 
(removed)
@@ -1,11 +0,0 @@
-.. title:: clang-tidy - cert-dcl50-cpp
-
-cert-dcl50-cpp
-==============
-
-This check flags all function definitions (but not declarations) of C-style
-variadic functions.
-
-This check corresponds to the CERT C++ Coding Standard rule
-`DCL50-CPP. Do not define a C-style variadic function
-<https://www.securecoding.cert.org/confluence/display/cplusplus/DCL50-CPP.+Do+not+define+a+C-style+variadic+function>`_.

Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst?rev=256474&r1=256473&r2=256474&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst Sun Dec 27 13:14:55 
2015
@@ -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


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to