File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
clang/include/clang/Format Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments