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

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 4 15:32:42 PDT 2023


================
@@ -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,
----------------
mydeveloperday wrote:

I want you to also test the actual usage of your option

https://github.com/llvm/llvm-project/pull/65140


More information about the cfe-commits mailing list