summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ExtendingLLVM.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/ExtendingLLVM.rst')
-rw-r--r--llvm/docs/ExtendingLLVM.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/ExtendingLLVM.rst b/llvm/docs/ExtendingLLVM.rst
index e41cfd996e5..6df08eee985 100644
--- a/llvm/docs/ExtendingLLVM.rst
+++ b/llvm/docs/ExtendingLLVM.rst
@@ -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,
OpenPOWER on IntegriCloud