diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst --- a/llvm/docs/LangRef.rst +++ b/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