[Lldb-commits] [lldb] [LLDB] Add external progress bit category (PR #120171)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 17 08:28:30 PST 2024
================
@@ -21,6 +21,12 @@
namespace lldb_private {
+/// Enum to indicate the origin of a progress event, internal or external.
+enum class ProgressOrigin : uint8_t {
+ eLLDBInternal = 0,
+ eExternal = 1,
----------------
JDevlieghere wrote:
Let's go with `eInternal` and `eExternal`. We generally avoid putting `LLDB` in names and the whole enum is part of `lldb_private`. I would also suggest to move it into the progress class and drop the `Progress` prefix so we have `Progress::Origin:eInternal` and `Progress::Origin:eExternal`.
https://github.com/llvm/llvm-project/pull/120171
More information about the lldb-commits
mailing list