Fix LLVM sphinx build
authorAaron Ballman <aaron@aaronballman.com>
Wed, 5 Apr 2023 17:25:07 +0000 (13:25 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 5 Apr 2023 17:25:07 +0000 (13:25 -0400)
This addresses issues found by:
https://lab.llvm.org/buildbot/#/builders/30/builds/33698

llvm/docs/ReleaseNotes.rst

index 052a850..551efe0 100644 (file)
@@ -247,12 +247,15 @@ Changes to Sanitizers
   an intended override of a weak symbol, then it must contain at least one weak
   symbol as well for the override to take effect.
 
-    Example:
-      // Add this to make sure your override takes effect
-      __attribute__((weak,unused)) unsigned __enableOverrides;
+  Example:
 
-      // Example override
-      extern "C" const char *__asan_default_options() { ... }
+  .. code-block:: c
+
+    // Add this to make sure your override takes effect
+    __attribute__((weak,unused)) unsigned __enableOverrides;
+
+    // Example override
+    extern "C" const char *__asan_default_options() { ... }
 
 Other Changes
 -------------