diff --git a/docs/ExtendingLLVM.rst b/docs/ExtendingLLVM.rst index e41cfd996e5..6df08eee985 100644 --- a/docs/ExtendingLLVM.rst +++ b/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 &TypeStack) @@ -296,7 +296,7 @@ Adding a derived type modify - .. code:: c++ + .. code-block:: c++ void calcTypeName(const Type *Ty, std::vector &TypeStack,