[PATCH] D100125: Missing syntax highlighting for LLVM IR in Langref
Sushma Unnibhavi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 9 10:38:03 PDT 2021
sushmaunnibhavi updated this revision to Diff 336514.
sushmaunnibhavi added a comment.
Added missing syntax highlighting
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100125/new/
https://reviews.llvm.org/D100125
Files:
llvm/docs/LangRef.rst
Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -939,7 +939,7 @@
As a syntactic sugar the ``$name`` can be omitted if the name is the same as
the global name:
-.. code-block:: text
+.. code-block:: llvm
$foo = comdat any
@foo = global i32 2, comdat
@@ -963,7 +963,7 @@
The combined use of COMDATS and section attributes may yield surprising results.
For example:
-.. code-block:: text
+.. code-block:: llvm
$foo = comdat any
$bar = comdat any
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100125.336514.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210409/6a594519/attachment-0001.bin>
More information about the llvm-commits
mailing list