Skip to content

Commit 7561d03

Browse files
committed
[lldb][sbdebugger] Match progress category enum bit in Debugger.h
When the `eBroadcastBitProgressCategory` bit was originally added to Debugger.h and SBDebugger.h, each corresponding bit was added in order of the other bits that were previously there. Since `Debugger.h` has an enum bit that `SBDebugger.h` does not, this meant that their offsets did not match. This commit changes it so that the bit offsets match each other.
1 parent 6708beb commit 7561d03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/include/lldb/API/SBDebugger.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ class LLDB_API SBInputReader {
4242

4343
class LLDB_API SBDebugger {
4444
public:
45+
// The enum values here need to match their corresponding values in
46+
// Debugger.h.
4547
FLAGS_ANONYMOUS_ENUM(){
4648
eBroadcastBitProgress = (1 << 0),
4749
eBroadcastBitWarning = (1 << 1),
4850
eBroadcastBitError = (1 << 2),
49-
eBroadcastBitProgressCategory = (1 << 3),
51+
eBroadcastBitProgressCategory = (1 << 4),
5052
};
5153

5254
SBDebugger();

0 commit comments

Comments
 (0)