[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
Thu Oct 17 05:51:00 PDT 2024


https://github.com/njriasan updated https://github.com/llvm/llvm-project/pull/112162

>From e5a70cb2f9d744716e376ec0939645a7b0365ead Mon Sep 17 00:00:00 2001
From: Nicholas Riasanovsky <njriasanovsky at berkeley.edu>
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