[clang] [clang-format][docs] Fix version (PR #81185)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 12:12:31 PST 2024
=?utf-8?q?Björn_Schäpers?= <github at hazardy.de>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/81185 at github.com>
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Björn Schäpers (HazardyKnusperkeks)
<details>
<summary>Changes</summary>
#<!-- -->78752 was not merged in time for clang-format 18.
---
Full diff: https://github.com/llvm/llvm-project/pull/81185.diff
2 Files Affected:
- (modified) clang/docs/ClangFormatStyleOptions.rst (+1-1)
- (modified) clang/include/clang/Tooling/Inclusions/IncludeStyle.h (+1-1)
``````````diff
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 0a8cc18c5b4cb..4ccdd2d104de1 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -4156,7 +4156,7 @@ the configuration (without a prefix: ``Auto``).
.. _MainIncludeChar:
-**MainIncludeChar** (``MainIncludeCharDiscriminator``) :versionbadge:`clang-format 18` :ref:`¶ <MainIncludeChar>`
+**MainIncludeChar** (``MainIncludeCharDiscriminator``) :versionbadge:`clang-format 19` :ref:`¶ <MainIncludeChar>`
When guessing whether a #include is the "main" include, only the include
directives that use the specified character are considered.
diff --git a/clang/include/clang/Tooling/Inclusions/IncludeStyle.h b/clang/include/clang/Tooling/Inclusions/IncludeStyle.h
index c91e4a6b0ac54..d167b7e45467f 100644
--- a/clang/include/clang/Tooling/Inclusions/IncludeStyle.h
+++ b/clang/include/clang/Tooling/Inclusions/IncludeStyle.h
@@ -164,7 +164,7 @@ struct IncludeStyle {
/// When guessing whether a #include is the "main" include, only the include
/// directives that use the specified character are considered.
- /// \version 18
+ /// \version 19
MainIncludeCharDiscriminator MainIncludeChar;
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/81185
More information about the cfe-commits
mailing list