[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:19:47 PDT 2024
================
@@ -1347,6 +1347,12 @@ enum DebuggerBroadcastBit {
eBroadcastBitProgressCategory = (1 << 3),
};
+enum Severity {
+ eSeverityError,
+ eSeverityWarning,
+ eSeverityInfo,
----------------
JDevlieghere wrote:
I considered the latter, but we use `eSeverityRemark` so infrequently and not even always for `DiagnosticsEngine::Level::Remark` that I decided against it. The comment however seems like a good compromise.
https://github.com/llvm/llvm-project/pull/90917
More information about the lldb-commits
mailing list