[clang-tools-extra] 6d7712a - [clang-tidy][docs] Replace _not_ in reserved-identifier.rst with *not* (#112162)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 17 09:42:12 PDT 2024
Author: Nick Riasanovsky
Date: 2024-10-17T12:42:08-04:00
New Revision: 6d7712a70c163d2ae9e1dc928db31fcb45d9e404
URL: https://github.com/llvm/llvm-project/commit/6d7712a70c163d2ae9e1dc928db31fcb45d9e404
DIFF: https://github.com/llvm/llvm-project/commit/6d7712a70c163d2ae9e1dc928db31fcb45d9e404.diff
LOG: [clang-tidy][docs] Replace _not_ in reserved-identifier.rst with *not* (#112162)
Fixes a documentation formatting error where `_not_` was used which has no
special meaning in reST and replaces it with `*not*`.
Closes #111691.
Added:
Modified:
clang-tools-extra/docs/clang-tidy/checks/bugprone/reserved-identifier.rst
Removed:
################################################################################
diff --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone/reserved-identifier.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone/reserved-identifier.rst
index a498ff8409af3a..3f6cee9b3bb5aa 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/reserved-identifier.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/reserved-identifier.rst
@@ -28,7 +28,7 @@ Violating the naming rules above results in undefined behavior.
int _g(); // disallowed in global namespace only
The check can also be inverted, i.e. it can be configured to flag any
-identifier that is _not_ a reserved identifier. This mode is for use by e.g.
+identifier that is *not* a reserved identifier. This mode is for use by e.g.
standard library implementors, to ensure they don't infringe on the user
namespace.
More information about the cfe-commits
mailing list