[llvm] ceacb32 - Fix LLVM sphinx build

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 10:25:35 PDT 2023


Author: Aaron Ballman
Date: 2023-04-05T13:25:07-04:00
New Revision: ceacb3252416b450cb42a951eb531b6d66a89da8

URL: https://github.com/llvm/llvm-project/commit/ceacb3252416b450cb42a951eb531b6d66a89da8
DIFF: https://github.com/llvm/llvm-project/commit/ceacb3252416b450cb42a951eb531b6d66a89da8.diff

LOG: Fix LLVM sphinx build

This addresses issues found by:
https://lab.llvm.org/buildbot/#/builders/30/builds/33698

Added: 
    

Modified: 
    llvm/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index 052a8501a754..551efe0422c6 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -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
 -------------


        


More information about the llvm-commits mailing list