[llvm] e8b0542 - Missing syntax highlighting for LLVM IR in Langref
via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 10 23:51:23 PDT 2021
Author: Sushma Unnibhavi
Date: 2021-04-11T12:19:58+05:30
New Revision: e8b0542078515b315d98b2ae3193bc7dae4a2430
URL: https://github.com/llvm/llvm-project/commit/e8b0542078515b315d98b2ae3193bc7dae4a2430
DIFF: https://github.com/llvm/llvm-project/commit/e8b0542078515b315d98b2ae3193bc7dae4a2430.diff
LOG: Missing syntax highlighting for LLVM IR in Langref
Added syntax highlighting
Differential Revision: https://reviews.llvm.org/D100125
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 794ca1092eafa..64436f22f30ea 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -939,7 +939,7 @@ the COMDAT key's section is the largest:
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 @@ if a collision occurs in the symbol table.
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
More information about the llvm-commits
mailing list