summaryrefslogtreecommitdiffstats
path: root/llvm/docs/GetElementPtr.rst
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2017-07-26 14:11:23 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2017-07-26 14:11:23 +0000
commite02fcee53699370b2d4a93d870ce34a40be64ad1 (patch)
tree3af696202b775fc143a10a3245b847b1e1c5b4fb /llvm/docs/GetElementPtr.rst
parent727c21e309d91331334d6059e4623509d75bba69 (diff)
downloadbcm5719-llvm-e02fcee53699370b2d4a93d870ce34a40be64ad1.tar.gz
bcm5719-llvm-e02fcee53699370b2d4a93d870ce34a40be64ad1.zip
[docs] change a few code-blocks to llvm from text
llvm-svn: 309117
Diffstat (limited to 'llvm/docs/GetElementPtr.rst')
-rw-r--r--llvm/docs/GetElementPtr.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/GetElementPtr.rst b/llvm/docs/GetElementPtr.rst
index b593871695f..c2da640fe06 100644
--- a/llvm/docs/GetElementPtr.rst
+++ b/llvm/docs/GetElementPtr.rst
@@ -196,7 +196,7 @@ illegal.
In order to access the 18th integer in the array, you would need to do the
following:
-.. code-block:: text
+.. code-block:: llvm
%idx = getelementptr { [40 x i32]* }, { [40 x i32]* }* %, i64 0, i32 0
%arr = load [40 x i32]** %idx
OpenPOWER on IntegriCloud