From c055111ab20cb853f16c7b4abefdb0f2346547f5 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Thu, 2 Jun 2016 01:15:59 +0000 Subject: [PATCH] [docs] Use cpp code-blocks where appropriate git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271461 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/SourceBasedCodeCoverage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/SourceBasedCodeCoverage.rst b/docs/SourceBasedCodeCoverage.rst index 6ff7bffed6..027dd8bac5 100644 --- a/docs/SourceBasedCodeCoverage.rst +++ b/docs/SourceBasedCodeCoverage.rst @@ -35,7 +35,7 @@ The code coverage workflow consists of three main steps: The next few sections work through a complete, copy-'n-paste friendly example based on this program: -.. code-block:: console +.. code-block:: cpp % cat < foo.cc #define BAR(x) ((x) || (x)) @@ -116,7 +116,7 @@ distinct views for ``foo(...)`` and ``foo(...)``. If ``-show-line-counts-or-regions`` is enabled, ``llvm-cov`` displays sub-line region counts (even in macro expansions): -.. code-block:: console +.. code-block:: cpp 20| 1|#define BAR(x) ((x) || (x)) ^20 ^2 -- 2.40.0