[clang] 9397127 - Fix some Sphinx warnings in the static analyzer docs

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 5 13:44:58 PDT 2021


Author: Aaron Ballman
Date: 2021-10-05T16:43:55-04:00
New Revision: 939712734a563dd4d12b88f875d9c8e2b0fa6219

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

LOG: Fix some Sphinx warnings in the static analyzer docs

A heading wasn't underlined properly, and two links share the same text
and so they should use an anonymous hyperlink instead of a named one.

Added: 
    

Modified: 
    clang/docs/analyzer/checkers.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/analyzer/checkers.rst b/clang/docs/analyzer/checkers.rst
index a0c207b974678..267ff4437a64f 100644
--- a/clang/docs/analyzer/checkers.rst
+++ b/clang/docs/analyzer/checkers.rst
@@ -2059,7 +2059,7 @@ SEI CERT checkers which tries to find errors based on their `C coding rules <htt
 alpha.security.cert.pos
 ^^^^^^^^^^^^^^^^^^^^^^^
 
-SEI CERT checkers of `POSIX C coding rules <https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152405>`_.
+SEI CERT checkers of `POSIX C coding rules <https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pageId=87152405>`__.
 
 .. _alpha-security-cert-pos-34c:
 
@@ -2082,12 +2082,12 @@ Finds calls to the ``putenv`` function which pass a pointer to an automatic vari
 alpha.security.cert.env
 ^^^^^^^^^^^^^^^^^^^^^^^
 
-SEI CERT checkers of `POSIX C coding rules <https://wiki.sei.cmu.edu/confluence/x/JdcxBQ>`_.
+SEI CERT checkers of `POSIX C coding rules <https://wiki.sei.cmu.edu/confluence/x/JdcxBQ>`__.
 
 .. _alpha-security-cert-env-InvalidPtr:
 
 alpha.security.cert.env.InvalidPtr
-"""""""""""""""""""""""""""
+""""""""""""""""""""""""""""""""""
 
 Corresponds to SEI CERT Rules ENV31-C and ENV34-C.
 


        


More information about the cfe-commits mailing list