[clang-tools-extra] [clang-tidy] [docs] Replace _not_ in reserved-identifier.rst with *not* (PR #112162)
Nick Riasanovsky via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 13 22:49:39 PDT 2024
https://github.com/njriasan created https://github.com/llvm/llvm-project/pull/112162
Fixes a documentation formatting error where `_not_` was used which has no special meaning in markdown and replaces it with `*not*`.
Closes #111691
>From 8b954f0c5479f45672ebe860337f39acccf30019 Mon Sep 17 00:00:00 2001
From: Nicholas Riasanovsky <nicholasriasanovsky at macbook-pro.myfiosgateway.com>
Date: Mon, 14 Oct 2024 01:42:39 -0400
Subject: [PATCH] Replace _not_ in reserved-identifier.rst from the clang-tidy
docs with *not*
---
.../docs/clang-tidy/checks/bugprone/reserved-identifier.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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