[PATCH] D138838: Update wrong Unicode code point in confusable-identifiers.rst

Raul Ferrando via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 28 11:23:32 PST 2022


rferrandop created this revision.
rferrandop added a reviewer: aaron.ballman.
Herald added a project: All.
rferrandop requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

In `confusable-identifiers.rst` the description refers to wrong Unicode code point.

The shown code point is **U+1D41F**, not **U+1234**.
Updated the code point and it's description.

Fixes #58934


https://reviews.llvm.org/D138838

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


Index: clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst
===================================================================
--- clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst
+++ clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst
@@ -12,4 +12,4 @@
 .. code-block:: text
 
     int fo; // Initial character is U+0066 (LATIN SMALL LETTER F).
-    int 𝐟o; // Initial character is U+1234 (SUPER COOL AWESOME UPPERCASE NOT LATIN F) not U+0066 (LATIN SMALL LETTER F).
+    int 𝐟o; // Initial character is U+1D41F (MATHEMATICAL BOLD SMALL F) not U+0066 (LATIN SMALL LETTER F).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138838.478289.patch
Type: text/x-patch
Size: 648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221128/9427be5d/attachment.bin>


More information about the cfe-commits mailing list