From c7c0ce7d9ebdc0a49313bc77e14d1e856794f2e0 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 16 Sep 2022 07:19:30 -0400 Subject: [PATCH] Fix the clang Sphinx bot This addresses failures introduced by: https://lab.llvm.org/buildbot/#/builders/92/builds/32809 It also fixes a secondary issue that crept in after the above build started failing. --- clang/docs/JSONCompilationDatabase.rst | 2 +- clang/docs/SanitizerCoverage.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);