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

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 4 12:22:39 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,
----------------
HazardyKnusperkeks wrote:

We have dedicated sections on how to check enum parsing.

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


More information about the cfe-commits mailing list