Skip to content

Commit 5d76642

Browse files
committed
[clang-format][NFC] Keep option names sorted in Format.h
1 parent 9cbc1f2 commit 5d76642

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

clang/include/clang/Format/Format.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2802,23 +2802,6 @@ struct FormatStyle {
28022802
/// \version 3.3
28032803
bool IndentCaseLabels;
28042804

2805-
/// Indent goto labels.
2806-
///
2807-
/// When ``false``, goto labels are flushed left.
2808-
/// \code
2809-
/// true: false:
2810-
/// int f() { vs. int f() {
2811-
/// if (foo()) { if (foo()) {
2812-
/// label1: label1:
2813-
/// bar(); bar();
2814-
/// } }
2815-
/// label2: label2:
2816-
/// return 1; return 1;
2817-
/// } }
2818-
/// \endcode
2819-
/// \version 10
2820-
bool IndentGotoLabels;
2821-
28222805
/// If ``true``, clang-format will indent the body of an ``export { ... }``
28232806
/// block. This doesn't affect the formatting of anything else related to
28242807
/// exported declarations.
@@ -2872,6 +2855,23 @@ struct FormatStyle {
28722855
/// \version 11
28732856
IndentExternBlockStyle IndentExternBlock;
28742857

2858+
/// Indent goto labels.
2859+
///
2860+
/// When ``false``, goto labels are flushed left.
2861+
/// \code
2862+
/// true: false:
2863+
/// int f() { vs. int f() {
2864+
/// if (foo()) { if (foo()) {
2865+
/// label1: label1:
2866+
/// bar(); bar();
2867+
/// } }
2868+
/// label2: label2:
2869+
/// return 1; return 1;
2870+
/// } }
2871+
/// \endcode
2872+
/// \version 10
2873+
bool IndentGotoLabels;
2874+
28752875
/// Options for indenting preprocessor directives.
28762876
enum PPDirectiveIndentStyle : int8_t {
28772877
/// Does not indent any directives.

0 commit comments

Comments
 (0)