docs: Propagate fix from r165632 to other docs.
authorSean Silva <silvas@purdue.edu>
Wed, 10 Oct 2012 17:21:39 +0000 (17:21 +0000)
committerSean Silva <silvas@purdue.edu>
Wed, 10 Oct 2012 17:21:39 +0000 (17:21 +0000)
There are only two other instances of using `.. code::` instead of
`..  code-block::`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165633 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ExtendingLLVM.rst

index e41cfd996e5215f615d1ba711d4c6726b8991bcf..6df08eee985a34d0ca53c165d1cb73d2d664dfb9 100644 (file)
@@ -270,7 +270,7 @@ Adding a derived type
 
    add support for derived type to:
 
-   .. code:: c++
+   .. code-block:: c++
 
      std::string getTypeDescription(const Type &Ty,
                                     std::vector<const Type*> &TypeStack)
@@ -296,7 +296,7 @@ Adding a derived type
 
    modify
 
-   .. code:: c++
+   .. code-block:: c++
 
      void calcTypeName(const Type *Ty,
                        std::vector<const Type*> &TypeStack,