[llvm] [llvm-dwarfdump] Added --output-style option for controlling output format (PR #216559)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 02:31:06 PDT 2026
================
@@ -136,7 +136,7 @@ enum ErrorDetailLevel {
Unspecified
};
-enum OutputStyleTy { LLVM, JSON, UNKNOWN };
+enum class OutputStyleKind { OSK_LLVM, OSK_JSON, OSK_UNKNOWN };
----------------
jh7370 wrote:
The `OSK_` prefixes aren't needed for `enum class` types: they're for unscoped enums, to help show where they come from. The naming style issue I was referring to was "UNKNOWN" which should be "Unknown" (the other two are acronyms, so all-upper-case is correct).
https://github.com/llvm/llvm-project/pull/216559
More information about the llvm-commits
mailing list