mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 17:21:10 +00:00
[clang-format] Fix the version for a newly added option
Also update the release notes.
This commit is contained in:
parent
c360ce0c80
commit
23d6a6dfc1
@ -1217,7 +1217,7 @@ the configuration (without a prefix: ``Auto``).
|
||||
|
||||
.. _AllowShortCompoundRequirementOnASingleLine:
|
||||
|
||||
**AllowShortCompoundRequirementOnASingleLine** (``Boolean``) :versionbadge:`clang-format 16` :ref:`¶ <AllowShortCompoundRequirementOnASingleLine>`
|
||||
**AllowShortCompoundRequirementOnASingleLine** (``Boolean``) :versionbadge:`clang-format 18` :ref:`¶ <AllowShortCompoundRequirementOnASingleLine>`
|
||||
Allow short compound requirement on a single line.
|
||||
|
||||
.. code-block:: c++
|
||||
|
@ -775,6 +775,7 @@ AST Matchers
|
||||
clang-format
|
||||
------------
|
||||
- Add ``AllowBreakBeforeNoexceptSpecifier`` option.
|
||||
- Add ``AllowShortCompoundRequirementOnASingleLine`` option.
|
||||
|
||||
libclang
|
||||
--------
|
||||
|
@ -701,7 +701,7 @@ struct FormatStyle {
|
||||
/// } -> std::same_as<int>;
|
||||
/// };
|
||||
/// \endcode
|
||||
/// \version 16
|
||||
/// \version 18
|
||||
bool AllowShortCompoundRequirementOnASingleLine;
|
||||
|
||||
/// Allow short enums on a single line.
|
||||
|
Loading…
Reference in New Issue
Block a user