[Lldb-commits] [lldb] [lldb] Create a single Severity enum in lldb-enumerations (PR #90917)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri May 3 09:18:52 PDT 2024


================
@@ -1347,6 +1347,12 @@ enum DebuggerBroadcastBit {
   eBroadcastBitProgressCategory = (1 << 3),
 };
 
+enum Severity {
----------------
JDevlieghere wrote:

It would, but `lldb-enumerations.h` exclusively uses `enum` and I think consistency outweighs the small benefit of using `enum class`. FWIW this came up previously in https://github.com/llvm/llvm-project/pull/80167#issuecomment-2043721298 too. 

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


More information about the lldb-commits mailing list