[docs] Use reST link instead of direct HTML link.
[oota-llvm.git] / docs / ExtendingLLVM.rst
index e41cfd996e5215f615d1ba711d4c6726b8991bcf..3d8e9ee79a46bbefdabb8de43b240c318cbb2021 100644 (file)
@@ -1,5 +1,3 @@
-.. _extending_llvm:
-
 ============================================================
 Extending LLVM: Adding instructions, intrinsics, types, etc.
 ============================================================
@@ -270,7 +268,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 +294,7 @@ Adding a derived type
 
    modify
 
-   .. code:: c++
+   .. code-block:: c++
 
      void calcTypeName(const Type *Ty,
                        std::vector<const Type*> &TypeStack,