[clang] 12bf816 - Speculatively fix the Clang sphinx build

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 10:10:34 PST 2023


Author: Aaron Ballman
Date: 2023-01-11T13:10:25-05:00
New Revision: 12bf8165d5c8522d93d0fc92811f280def87eb17

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

LOG: Speculatively fix the Clang sphinx build

This is another attempt at getting the Sphinx build back to green. It
seems Sphinx on the build server does not like any of these, likely due
to the digit separators.

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 f6c8723e4d330..eadf1ea4fa8f2 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -2509,14 +2509,14 @@ struct FormatStyle {
     /// \endcode
     int8_t Binary;
     /// Format separators in decimal literals.
-    /// \code
+    /// \code{.text}
     ///    -1: 18446744073709550592ull
     ///     0: 184467'440737'0'95505'92ull
     ///     3: 18'446'744'073'709'550'592ull
     /// \endcode
     int8_t Decimal;
     /// Format separators in hexadecimal literals.
-    /// \code
+    /// \code{.text}
     ///    -1: 0xDEADBEEFDEADBEEFuz
     ///     0: 0xDEAD'BEEF'DE'AD'BEE'Fuz
     ///     2: 0xDE'AD'BE'EF'DE'AD'BE'EFuz


        


More information about the cfe-commits mailing list