[clang-tools-extra] e36535f - Fix sphinx build for clang-tools-extra
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 23 04:23:21 PDT 2022
Author: Aaron Ballman
Date: 2022-06-23T07:22:00-04:00
New Revision: e36535f99cd4caa3773089a60eee26ad535a923d
URL: https://github.com/llvm/llvm-project/commit/e36535f99cd4caa3773089a60eee26ad535a923d
DIFF: https://github.com/llvm/llvm-project/commit/e36535f99cd4caa3773089a60eee26ad535a923d.diff
LOG: Fix sphinx build for clang-tools-extra
I think it doesn't like the non-ASCII characters in the block, so using
a text block to disable syntax highlighting.
This should fix:
https://lab.llvm.org/buildbot/#/builders/115/builds/29888
Added:
Modified:
clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst
Removed:
################################################################################
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst b/clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst
index 5a89212ae9ab0..b6d3e9981acf9 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc/confusable-identifiers.rst
@@ -9,7 +9,7 @@ attack described in `CVE-2021-42574 <https://www.cve.org/CVERecord?id=CVE-2021-4
Example:
-.. code-block:: c++
+.. 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).
More information about the cfe-commits
mailing list