[clang] ebd5290 - Address sphinx warnings

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 13 05:43:13 PDT 2020


Author: Benjamin Kramer
Date: 2020-04-13T14:41:55+02:00
New Revision: ebd5290ff2b34c6863ee50cd2bcadff19d260812

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

LOG: Address sphinx warnings

LanguageExtensions.rst:2191: WARNING: Title underline too short.
llvm-symbolizer.rst:157: Error in "code-block" directive: maximum 1 argument(s) allowed, 30 supplied.

Added: 
    

Modified: 
    clang/docs/LanguageExtensions.rst
    llvm/docs/CommandGuide/llvm-symbolizer.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index f83d7cff9c87..929cd1c67e73 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -2188,7 +2188,7 @@ argument.
   __builtin_preserve_access_index(v->j);
 
 ``__builtin_unique_stable_name``
-------------------------
+--------------------------------
 
 ``__builtin_unique_stable_name()`` is a builtin that takes a type or expression and
 produces a string literal containing a unique name for the type (or type of the

diff  --git a/llvm/docs/CommandGuide/llvm-symbolizer.rst b/llvm/docs/CommandGuide/llvm-symbolizer.rst
index 820b15061715..5c8465af04a7 100644
--- a/llvm/docs/CommandGuide/llvm-symbolizer.rst
+++ b/llvm/docs/CommandGuide/llvm-symbolizer.rst
@@ -155,10 +155,11 @@ shows the default absolute path, the second --basenames, and the third
 shows --relativenames.
 
 .. code-block:: console
+
   $ pwd
   /tmp
   $ clang -g foo/test.cpp -o test.elf
-  $ llvm-symbolizer --obj=test.elf 0x4004a0 
+  $ llvm-symbolizer --obj=test.elf 0x4004a0
   main
   /tmp/foo/test.cpp:15:0
   $ llvm-symbolizer --obj=test.elf 0x4004a0 --basenames
@@ -167,7 +168,7 @@ shows --relativenames.
   $ llvm-symbolizer --obj=test.elf 0x4004a0 --relativenames
   main
   foo/test.cpp:15:0
-   
+
 OPTIONS
 -------
 


        


More information about the cfe-commits mailing list