[docs] Switch debug info metadata blocks to use `text` instead of `llvm`
highlighting syntax.
Most of them already were like this, and the Sphinx runs on the docs
build bot seems to be substantially more picky and/or not have support
for a bunch of the syntax here. Hopefully this will let it progress past
this.
My previous attempt to fix the syntax made the `opt` tool happy, but no
idea what the Sphinx stuff is really looking for, and the fact that
other blocks already just use `text` led me to this solution.
llvm-svn: 338983
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index e70c754..1cd6de6 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -4392,7 +4392,7 @@
- ``count: !9`` describes the count with a :ref:`DILocalVariable`.
- ``count: !11`` describes the count with a :ref:`DIGlobalVariable`.
-.. code-block:: llvm
+.. code-block:: text
!0 = !DISubrange(count: 5, lowerBound: 0) ; array counting from 0
!1 = !DISubrange(count: 5, lowerBound: 1) ; array counting from 1
@@ -4420,7 +4420,7 @@
``DIEnumerator`` nodes are the elements for ``DW_TAG_enumeration_type``
variants of :ref:`DICompositeType`.
-.. code-block:: llvm
+.. code-block:: text
!0 = !DIEnumerator(name: "SixKind", value: 7)
!1 = !DIEnumerator(name: "SevenKind", value: 7)
@@ -4433,7 +4433,7 @@
language constructs. They are used (optionally) in :ref:`DICompositeType` and
:ref:`DISubprogram` ``templateParams:`` fields.
-.. code-block:: llvm
+.. code-block:: text
!0 = !DITemplateTypeParameter(name: "Ty", type: !1)
@@ -4446,7 +4446,7 @@
``DW_TAG_GNU_template_param_pack``. They are used (optionally) in
:ref:`DICompositeType` and :ref:`DISubprogram` ``templateParams:`` fields.
-.. code-block:: llvm
+.. code-block:: text
!0 = !DITemplateValueParameter(name: "Ty", type: !1, value: i32 7)
@@ -4455,7 +4455,7 @@
``DINamespace`` nodes represent namespaces in the source language.
-.. code-block:: llvm
+.. code-block:: text
!0 = !DINamespace(name: "myawesomeproject", scope: !1, file: !2, line: 7)
@@ -4466,7 +4466,7 @@
``DIGlobalVariable`` nodes represent global variables in the source language.
-.. code-block:: llvm
+.. code-block:: text
!0 = !DIGlobalVariable(name: "foo", linkageName: "foo", scope: !1,
file: !2, line: 7, type: !3, isLocal: true,
@@ -4537,7 +4537,7 @@
indicate textual inclusion, or the ``discriminator:`` field can be used to
discriminate between control flow within a single block in the source language.
-.. code-block:: llvm
+.. code-block:: text
!0 = !DILexicalBlock(scope: !3, file: !4, line: 7, column: 35)
!1 = !DILexicalBlockFile(scope: !0, file: !4, discriminator: 0)
@@ -4552,7 +4552,7 @@
mandatory, and points at an :ref:`DILexicalBlockFile`, an
:ref:`DILexicalBlock`, or an :ref:`DISubprogram`.
-.. code-block:: llvm
+.. code-block:: text
!0 = !DILocation(line: 2900, column: 42, scope: !1, inlinedAt: !2)
@@ -4645,7 +4645,7 @@
``DIObjCProperty`` nodes represent Objective-C property nodes.
-.. code-block:: llvm
+.. code-block:: text
!3 = !DIObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo",
getter: "getFoo", attributes: 7, type: !2)