diff options
author | Vedant Kumar <vsk@apple.com> | 2016-06-02 01:15:59 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-06-02 01:15:59 +0000 |
commit | c055111ab20cb853f16c7b4abefdb0f2346547f5 (patch) | |
tree | cbb057156647ab962964afb5ac0d5f19f0481a12 /docs | |
parent | f72c4397cf00377ea60ae0f9804a319fc60deac3 (diff) |
[docs] Use cpp code-blocks where appropriate
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SourceBasedCodeCoverage.rst | 4 |
1 files 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 <<EOF > foo.cc #define BAR(x) ((x) || (x)) @@ -116,7 +116,7 @@ distinct views for ``foo<int>(...)`` and ``foo<float>(...)``. 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 |