[clang] 800f0f1 - [docs] Apply previous sphinx fix to its actual source

Emilia Dreamer via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 04:42:48 PST 2023


Author: Emilia Dreamer
Date: 2023-01-11T14:44:36+02:00
New Revision: 800f0f1546b2352ba42a4777149afb13cb874fcd

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

LOG: [docs] Apply previous sphinx fix to its actual source

This clang-format documentation file is auto-generated from Format.h,
so the fix should be applied there, or else it will be overwritten
whenever Format.h is modified and that file is regenerated.

Added: 
    

Modified: 
    clang/include/clang/Format/Format.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index 3a90c1fe5be9..f6c8723e4d33 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -2501,7 +2501,7 @@ struct FormatStyle {
   /// \endcode
   struct IntegerLiteralSeparatorStyle {
     /// Format separators in binary literals.
-    /// \code
+    /// \code{.text}
     ///    -1: 0b100111101101
     ///     0: 0b10011'11'0110'1
     ///     3: 0b100'111'101'101


        


More information about the cfe-commits mailing list