r271461 - [docs] Use cpp code-blocks where appropriate

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 18:15:59 PDT 2016


Author: vedantk
Date: Wed Jun  1 20:15:59 2016
New Revision: 271461

URL: http://llvm.org/viewvc/llvm-project?rev=271461&view=rev
Log:
[docs] Use cpp code-blocks where appropriate

Modified:
    cfe/trunk/docs/SourceBasedCodeCoverage.rst

Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/SourceBasedCodeCoverage.rst?rev=271461&r1=271460&r2=271461&view=diff
==============================================================================
--- cfe/trunk/docs/SourceBasedCodeCoverage.rst (original)
+++ cfe/trunk/docs/SourceBasedCodeCoverage.rst Wed Jun  1 20:15:59 2016
@@ -35,7 +35,7 @@ The code coverage workflow consists of t
 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
 ``-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




More information about the cfe-commits mailing list