@@ -2676,19 +2676,6 @@ struct FormatStyle {
26762676 // / \version 3.7
26772677 bool ExperimentalAutoDetectBinPacking;
26782678
2679- // / If ``true``, clang-format will indent the body of an ``export { ... }``
2680- // / block. This doesn't affect the formatting of anything else related to
2681- // / exported declarations.
2682- // / \code
2683- // / true: false:
2684- // / export { vs. export {
2685- // / void foo(); void foo();
2686- // / void bar(); void bar();
2687- // / } }
2688- // / \endcode
2689- // / \version 20
2690- bool ExportBlockIndentation;
2691-
26922679 // / If ``true``, clang-format adds missing namespace end comments for
26932680 // / namespaces and fixes invalid existing ones. This doesn't affect short
26942681 // / namespaces, which are controlled by ``ShortNamespaceLines``.
@@ -2832,6 +2819,19 @@ struct FormatStyle {
28322819 // / \version 10
28332820 bool IndentGotoLabels;
28342821
2822+ // / If ``true``, clang-format will indent the body of an ``export { ... }``
2823+ // / block. This doesn't affect the formatting of anything else related to
2824+ // / exported declarations.
2825+ // / \code
2826+ // / true: false:
2827+ // / export { vs. export {
2828+ // / void foo(); void foo();
2829+ // / void bar(); void bar();
2830+ // / } }
2831+ // / \endcode
2832+ // / \version 20
2833+ bool IndentExportBlock;
2834+
28352835 // / Indents extern blocks
28362836 enum IndentExternBlockStyle : int8_t {
28372837 // / Backwards compatible with AfterExternBlock's indenting.
@@ -5267,7 +5267,6 @@ struct FormatStyle {
52675267 EmptyLineBeforeAccessModifier == R.EmptyLineBeforeAccessModifier &&
52685268 ExperimentalAutoDetectBinPacking ==
52695269 R.ExperimentalAutoDetectBinPacking &&
5270- ExportBlockIndentation == R.ExportBlockIndentation &&
52715270 FixNamespaceComments == R.FixNamespaceComments &&
52725271 ForEachMacros == R.ForEachMacros &&
52735272 IncludeStyle.IncludeBlocks == R.IncludeStyle .IncludeBlocks &&
@@ -5280,6 +5279,7 @@ struct FormatStyle {
52805279 IndentAccessModifiers == R.IndentAccessModifiers &&
52815280 IndentCaseBlocks == R.IndentCaseBlocks &&
52825281 IndentCaseLabels == R.IndentCaseLabels &&
5282+ IndentExportBlock == R.IndentExportBlock &&
52835283 IndentExternBlock == R.IndentExternBlock &&
52845284 IndentGotoLabels == R.IndentGotoLabels &&
52855285 IndentPPDirectives == R.IndentPPDirectives &&
0 commit comments