[clang-tidy] Fix error in documentation of bugprone-unchecked-optional-access.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Fri, 9 Jun 2023 20:42:09 +0000 (20:42 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Fri, 9 Jun 2023 20:42:09 +0000 (20:42 +0000)
The documentation claims that the check recognizes `ASSERT_THAT`, but it doesn't
recognize any googletest macros at the moment. This patch removes the reference.

clang-tools-extra/docs/clang-tidy/checks/bugprone/unchecked-optional-access.rst

index ddb43a3..4736518 100644 (file)
@@ -146,9 +146,8 @@ have a value. For example:
 Ensure that a value exists using common macros
 ----------------------------------------------
 
-The check is aware of common macros like ``CHECK``, ``DCHECK``, and
-``ASSERT_THAT``. Those can be used to ensure that an optional object has
-a value. For example:
+The check is aware of common macros like ``CHECK`` and ``DCHECK``. Those can be
+used to ensure that an optional object has a value. For example:
 
 .. code-block:: c++