llvm/0001-fix-docs-3.patch
2016-09-19 09:34:43 +10:00

46 lines
1.4 KiB
Diff

From 9871423412faa2ed8380445a26ed1b0991a18502 Mon Sep 17 00:00:00 2001
From: Aaron Ballman <aaron@aaronballman.com>
Date: Tue, 19 Jul 2016 23:50:11 +0000
Subject: [PATCH] This code block breaks the docs build
(http://lab.llvm.org:8011/builders/llvm-sphinx-docs/builds/11925/steps/docs-llvm-html/logs/stdio).
Setting the code highlighting to none instead of llvm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276060 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/BranchWeightMetadata.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/BranchWeightMetadata.rst b/docs/BranchWeightMetadata.rst
index 6cbcb0f..9e61d23 100644
--- a/docs/BranchWeightMetadata.rst
+++ b/docs/BranchWeightMetadata.rst
@@ -29,7 +29,7 @@ Supported Instructions
Metadata is only assigned to the conditional branches. There are two extra
operands for the true and the false branch.
-.. code-block:: llvm
+.. code-block:: none
!0 = metadata !{
metadata !"branch_weights",
@@ -43,7 +43,7 @@ operands for the true and the false branch.
Branch weights are assigned to every case (including the ``default`` case which
is always case #0).
-.. code-block:: llvm
+.. code-block:: none
!0 = metadata !{
metadata !"branch_weights",
@@ -56,7 +56,7 @@ is always case #0).
Branch weights are assigned to every destination.
-.. code-block:: llvm
+.. code-block:: none
!0 = metadata !{
metadata !"branch_weights",
--
2.5.5