Skip to content

Commit e8b0542

Browse files
sushmaunnibhavixgupta
authored andcommitted
Missing syntax highlighting for LLVM IR in Langref
Added syntax highlighting Differential Revision: https://reviews.llvm.org/D100125
1 parent c88b87f commit e8b0542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/docs/LangRef.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ the COMDAT key's section is the largest:
939939
As a syntactic sugar the ``$name`` can be omitted if the name is the same as
940940
the global name:
941941

942-
.. code-block:: text
942+
.. code-block:: llvm
943943

944944
$foo = comdat any
945945
@foo = global i32 2, comdat
@@ -963,7 +963,7 @@ if a collision occurs in the symbol table.
963963
The combined use of COMDATS and section attributes may yield surprising results.
964964
For example:
965965

966-
.. code-block:: text
966+
.. code-block:: llvm
967967

968968
$foo = comdat any
969969
$bar = comdat any

0 commit comments

Comments
 (0)