Skip to content

Commit b3ff6c7

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 b3ff6c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/include/lldb/API/SBDebugger.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ class LLDB_API SBDebugger {
4646
eBroadcastBitProgress = (1 << 0),
4747
eBroadcastBitWarning = (1 << 1),
4848
eBroadcastBitError = (1 << 2),
49-
eBroadcastBitProgressCategory = (1 << 3),
49+
// This needs to match the corresponding bit in Debugger.h
50+
eBroadcastBitProgressCategory = (1 << 4),
5051
};
5152

5253
SBDebugger();

0 commit comments

Comments
 (0)