]> granicus.if.org Git - clang/commitdiff
[docs] Use cpp code-blocks where appropriate
authorVedant Kumar <vsk@apple.com>
Thu, 2 Jun 2016 01:15:59 +0000 (01:15 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 2 Jun 2016 01:15:59 +0000 (01:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271461 91177308-0d34-0410-b5e6-96231b3b80d8

docs/SourceBasedCodeCoverage.rst

index 6ff7bffed641fef904cf3644faa3ba65debd06d1..027dd8bac5753e094d1f1ed401405ae3605669be 100644 (file)
@@ -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