Skip to content
Snippets Groups Projects
Commit c055111a authored by Vedant Kumar's avatar Vedant Kumar
Browse files

[docs] Use cpp code-blocks where appropriate

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271461 91177308-0d34-0410-b5e6-96231b3b80d8
parent f72c4397
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ The code coverage workflow consists of three main steps: ...@@ -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 The next few sections work through a complete, copy-'n-paste friendly example
based on this program: based on this program:
.. code-block:: console .. code-block:: cpp
% cat <<EOF > foo.cc % cat <<EOF > foo.cc
#define BAR(x) ((x) || (x)) #define BAR(x) ((x) || (x))
...@@ -116,7 +116,7 @@ distinct views for ``foo<int>(...)`` and ``foo<float>(...)``. If ...@@ -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 ``-show-line-counts-or-regions`` is enabled, ``llvm-cov`` displays sub-line
region counts (even in macro expansions): region counts (even in macro expansions):
.. code-block:: console .. code-block:: cpp
20| 1|#define BAR(x) ((x) || (x)) 20| 1|#define BAR(x) ((x) || (x))
^20 ^2 ^20 ^2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment