[PATCH] D100125: Missing syntax highlighting for LLVM IR in Langref
Shivam Gupta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 10 23:51:42 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe8b054207851: Missing syntax highlighting for LLVM IR in Langref (authored by sushmaunnibhavi, committed by xgupta).
Repository:
rG LLVM Github Monorepo
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.336646.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210411/c623b4aa/attachment.bin>
More information about the llvm-commits
mailing list