Skip to content

Commit

Permalink
[clang-format][docs] Fix version (#81185)
Browse files Browse the repository at this point in the history
#78752 was not merged in time for clang-format 18.
  • Loading branch information
HazardyKnusperkeks committed Feb 9, 2024
1 parent 07dc85b commit 9d9cc37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clang/docs/ClangFormatStyleOptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion clang/include/clang/Tooling/Inclusions/IncludeStyle.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 9d9cc37

Please sign in to comment.