diff --git a/clang/docs/JSONCompilationDatabase.rst b/clang/docs/JSONCompilationDatabase.rst index 307592057681..0227f0bfe3e6 100644 --- a/clang/docs/JSONCompilationDatabase.rst +++ b/clang/docs/JSONCompilationDatabase.rst @@ -30,7 +30,7 @@ Supported Systems ================= Clang has the ability to generate compilation database fragments via -the :option:`-MJ argument >`. You can concatenate those +``-MJ argument >``. You can concatenate those fragments together between ``[`` and ``]`` to create a compilation database. Currently `CMake `_ (since 2.8.5) supports generation diff --git a/clang/docs/SanitizerCoverage.rst b/clang/docs/SanitizerCoverage.rst index c6e77cd7295c..c7ced397c722 100644 --- a/clang/docs/SanitizerCoverage.rst +++ b/clang/docs/SanitizerCoverage.rst @@ -350,6 +350,7 @@ The table is encoded in a special section named ``sancov_cfs`` Example: .. code-block:: c++ + int foo (int x) { if (x > 0) bar(x);