[clang] 1362206 - [clang-format][doc] Fix the doc format
via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 4 20:42:47 PDT 2023
Author: sstwcw
Date: 2023-09-05T03:39:24Z
New Revision: 1362206e8ad3ec70603d4cdb78d1d4c7b9cb0528
URL: https://github.com/llvm/llvm-project/commit/1362206e8ad3ec70603d4cdb78d1d4c7b9cb0528
DIFF: https://github.com/llvm/llvm-project/commit/1362206e8ad3ec70603d4cdb78d1d4c7b9cb0528.diff
LOG: [clang-format][doc] Fix the doc format
There has to be a blank line after a code block. Otherwise the HTML
docs can't be built.
The problem was brought in by ddc80637ccbc. How careless I was that the
same patch broke the build twice.
Added:
Modified:
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
Removed:
################################################################################
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 5716930f7ea660..df27f6166d3710 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -2747,6 +2747,7 @@ the configuration (without a prefix: ``Auto``).
false:
var x =
"veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString";
+
C# and JavaScript interpolated strings are not broken.
In Verilog:
diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index 58045f76b045cb..3b30ee9b44e759 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -2032,6 +2032,7 @@ struct FormatStyle {
/// var x =
/// "veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString";
/// \endcode
+ ///
/// C# and JavaScript interpolated strings are not broken.
///
/// In Verilog:
More information about the cfe-commits
mailing list