File tree 1 file changed +17
-17
lines changed
clang/include/clang/Format
1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -2802,23 +2802,6 @@ struct FormatStyle {
2802
2802
// / \version 3.3
2803
2803
bool IndentCaseLabels;
2804
2804
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
-
2822
2805
// / If ``true``, clang-format will indent the body of an ``export { ... }``
2823
2806
// / block. This doesn't affect the formatting of anything else related to
2824
2807
// / exported declarations.
@@ -2872,6 +2855,23 @@ struct FormatStyle {
2872
2855
// / \version 11
2873
2856
IndentExternBlockStyle IndentExternBlock;
2874
2857
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
+
2875
2875
// / Options for indenting preprocessor directives.
2876
2876
enum PPDirectiveIndentStyle : int8_t {
2877
2877
// / Does not indent any directives.
You can’t perform that action at this time.
0 commit comments