[clang-tools-extra] ac8c813 - Fix Sphinx build diagnostics

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 11 11:38:53 PST 2021


Author: Aaron Ballman
Date: 2021-11-11T14:38:11-05:00
New Revision: ac8c813b89f62efcaff4d0c92fdf1a5dd29d795d

URL: https://github.com/llvm/llvm-project/commit/ac8c813b89f62efcaff4d0c92fdf1a5dd29d795d
DIFF: https://github.com/llvm/llvm-project/commit/ac8c813b89f62efcaff4d0c92fdf1a5dd29d795d.diff

LOG: Fix Sphinx build diagnostics

This won't parse as either C or C++ according to Sphinx, so switched to
text to appease Sphinx.

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/misc-misleading-identifier.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-tidy/checks/misc-misleading-identifier.rst b/clang-tools-extra/docs/clang-tidy/checks/misc-misleading-identifier.rst
index 8bd99998d9b50..1e2b61ac67345 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc-misleading-identifier.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc-misleading-identifier.rst
@@ -9,7 +9,7 @@ line, as described in `Trojan Source <https://trojansource.codes>`_.
 
 An example of such misleading code follows:
 
-.. code-block:: c
+.. code-block:: text
 
   #include <stdio.h>
 


        


More information about the cfe-commits mailing list