[llvm] 3260fa2 - [globalisel][docs] Fix warning treated as error

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 13:28:06 PDT 2019


Author: Daniel Sanders
Date: 2019-10-29T13:27:48-07:00
New Revision: 3260fa2cb09b78ad55e91d95a522d9dc455575f0

URL: https://github.com/llvm/llvm-project/commit/3260fa2cb09b78ad55e91d95a522d9dc455575f0
DIFF: https://github.com/llvm/llvm-project/commit/3260fa2cb09b78ad55e91d95a522d9dc455575f0.diff

LOG: [globalisel][docs] Fix warning treated as error

I had hoped that I could have some
```
.. code-block:: MIR
```
sections for MIR examples which causes a warning about pygments not
supporting it but we have warnings treated as errors

Added: 
    

Modified: 
    llvm/docs/GlobalISel/IRTranslator.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/GlobalISel/IRTranslator.rst b/llvm/docs/GlobalISel/IRTranslator.rst
index 1d68524d0013..a4d9bdad2015 100644
--- a/llvm/docs/GlobalISel/IRTranslator.rst
+++ b/llvm/docs/GlobalISel/IRTranslator.rst
@@ -16,7 +16,7 @@ occasionally get a bit more involved. For example:
 
 becomes:
 
-.. code-block:: mir
+.. code-block:: none
 
   %2:_(s32) = G_ADD %0:_(s32), %1:_(s32)
 


        


More information about the llvm-commits mailing list