[clang-tools-extra] b967a97 - [clang-tidy] Fix documentation (NFC)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 22 09:49:09 PDT 2022


Author: Richard
Date: 2022-06-22T10:49:00-06:00
New Revision: b967a9755064b9d494523c7991fd995bc14f7b4c

URL: https://github.com/llvm/llvm-project/commit/b967a9755064b9d494523c7991fd995bc14f7b4c
DIFF: https://github.com/llvm/llvm-project/commit/b967a9755064b9d494523c7991fd995bc14f7b4c.diff

LOG: [clang-tidy] Fix documentation (NFC)

The documentation files were reorganized into subdirectories, but a new
check was added concurrently and wasn't rebased correctly before
submitting.  Sort the new clang-tidy checks by check name and fix the
indentation of bugprone-unchecked-optional-access.

Added: 
    clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst

Modified: 
    clang-tools-extra/docs/ReleaseNotes.rst

Removed: 
    clang-tools-extra/docs/clang-tidy/checks/misc-confusable-identifiers.rst


################################################################################
diff  --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index 15d142af8d34e..ec7b44405310d 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -123,8 +123,12 @@ New checks
 - New :doc:`bugprone-unchecked-optional-access
   <clang-tidy/checks/bugprone/unchecked-optional-access>` check.
 
-   Warns when the code is unwrapping a `std::optional<T>`, `absl::optional<T>`,
-   or `base::Optional<T>` object without assuring that it contains a value.
+  Warns when the code is unwrapping a `std::optional<T>`, `absl::optional<T>`,
+  or `base::Optional<T>` object without assuring that it contains a value.
+
+- New :doc:`misc-confusable-identifiers <clang-tidy/checks/misc/confusable-identifiers>` check.
+
+  Detects confusable Unicode identifiers.
 
 - New :doc:`modernize-macro-to-enum
   <clang-tidy/checks/modernize/macro-to-enum>` check.
@@ -139,10 +143,6 @@ New checks
   Future libc++ will remove the extension (`D120996
   <https://reviews.llvm.org/D120996>`).
 
-- New :doc:`misc-confusable-identifiers <clang-tidy/checks/misc-confusable-identifiers` check.
-
-  Detects confusable Unicode identifiers.
-
 New check aliases
 ^^^^^^^^^^^^^^^^^
 

diff  --git a/clang-tools-extra/docs/clang-tidy/checks/misc-confusable-identifiers.rst b/clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst
similarity index 100%
rename from clang-tools-extra/docs/clang-tidy/checks/misc-confusable-identifiers.rst
rename to clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst


        


More information about the cfe-commits mailing list