[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
https://github.com/varshneydevansh resolved https://github.com/llvm/llvm-project/pull/65140 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
https://github.com/varshneydevansh resolved https://github.com/llvm/llvm-project/pull/65140 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
https://github.com/varshneydevansh resolved https://github.com/llvm/llvm-project/pull/65140 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
@@ -3311,22 +3311,22 @@ the configuration (without a prefix: ``Auto``). .. _IndentGotoLabels: -**IndentGotoLabels** (``Boolean``) :versionbadge:`clang-format 10` :ref:`¶ ` +**IndentGotoLabels** (``enum``) :versionbadge:`clang-format 10` :ref:`¶ ` Indent goto labels. -

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
varshneydevansh wrote: > Do you actually want to use that feature, or do you only want to work on > something? > As it's something of my past pending task, I'm looking to learn and contribute in any way I can. I left without even trying to contribute to open source codes. =) https://gith

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
@@ -2421,20 +2421,28 @@ struct FormatStyle { /// Indent goto labels. /// - /// When ``false``, goto labels are flushed left. /// \code - ///true: false: - ///int f() { vs. int f() { - /// if (foo

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
@@ -161,7 +171,8 @@ TEST(ConfigParseTest, ParsesConfigurationBools) { CHECK_PARSE_BOOL(IndentAccessModifiers); CHECK_PARSE_BOOL(IndentCaseLabels); CHECK_PARSE_BOOL(IndentCaseBlocks); - CHECK_PARSE_BOOL(IndentGotoLabels); + CHECK_PARSE_ENUM(IndentGotoLabels,

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
@@ -3311,22 +3311,22 @@ the configuration (without a prefix: ``Auto``). .. _IndentGotoLabels: -**IndentGotoLabels** (``Boolean``) :versionbadge:`clang-format 10` :ref:`¶ ` +**IndentGotoLabels** (``enum``) :versionbadge:`clang-format 10` :ref:`¶ ` Indent goto labels. -

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
@@ -2432,9 +2431,25 @@ struct FormatStyle { ///label2:label2: /// return 1; return 1; ///} } + /// + ///GLI_HalfIndent: + ///int f() { + /// if

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
https://github.com/varshneydevansh updated https://github.com/llvm/llvm-project/pull/65140: >From be006b494c4e34463818a7f1fd30cde9282fcea1 Mon Sep 17 00:00:00 2001 From: varshneydevansh Date: Thu, 31 Aug 2023 17:27:58 +0530 Subject: [PATCH 1/3] [clang] modified goto bool to enum --- clang/doc

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
@@ -2432,9 +2431,25 @@ struct FormatStyle { ///label2:label2: /// return 1; return 1; ///} } + /// + ///GLI_HalfIndent: + ///int f() { + /// if

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
https://github.com/varshneydevansh review_requested https://github.com/llvm/llvm-project/pull/65140 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
https://github.com/varshneydevansh review_requested https://github.com/llvm/llvm-project/pull/65140 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] modified goto bool to enum (PR #65140)

2023-09-04 Thread Devansh Varshney देवांश वार्ष्णेय via cfe-commits
https://github.com/varshneydevansh updated https://github.com/llvm/llvm-project/pull/65140: >From be006b494c4e34463818a7f1fd30cde9282fcea1 Mon Sep 17 00:00:00 2001 From: varshneydevansh Date: Thu, 31 Aug 2023 17:27:58 +0530 Subject: [PATCH 1/2] [clang] modified goto bool to enum --- clang/doc