-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[lldb][sbapi] Namespace CommandReturnObjectCallbackResult in SBDefines #126606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lldb][sbapi] Namespace CommandReturnObjectCallbackResult in SBDefines #126606
Conversation
A new callback was added with the type CommandReturnObjectCallbackResult, this commit namespaces that type to match the format of other callback functions have a return type in the lldb namespace. rdar://144553496
@llvm/pr-subscribers-lldb Author: Chelsea Cassanova (chelcassanova) ChangesA new callback was added with the type rdar://144553496 Full diff: https://github.com/llvm/llvm-project/pull/126606.diff 1 Files Affected:
diff --git a/lldb/include/lldb/API/SBDefines.h b/lldb/include/lldb/API/SBDefines.h
index b7b5cc06546f86d..ed5a80da117a50a 100644
--- a/lldb/include/lldb/API/SBDefines.h
+++ b/lldb/include/lldb/API/SBDefines.h
@@ -144,7 +144,7 @@ typedef bool (*SBBreakpointHitCallback)(void *baton, lldb::SBProcess &process,
typedef void (*SBDebuggerDestroyCallback)(lldb::user_id_t debugger_id,
void *baton);
-typedef CommandReturnObjectCallbackResult (*SBCommandPrintCallback)(
+typedef lldb::CommandReturnObjectCallbackResult (*SBCommandPrintCallback)(
lldb::SBCommandReturnObject &result, void *baton);
typedef lldb::SBError (*SBPlatformLocateModuleCallback)(
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other types are prefixed with the lldb namespace as well, LGTM!
llvm#126606) A new callback was added with the type CommandReturnObjectCallbackResult, this commit namespaces that type to match the format of other callback functions that have a non-primitive return type in the lldb namespace. rdar://144553496 (cherry picked from commit 7c269cf)
llvm#126606) (#9994) A new callback was added with the type CommandReturnObjectCallbackResult, this commit namespaces that type to match the format of other callback functions that have a non-primitive return type in the lldb namespace. rdar://144553496 (cherry picked from commit 7c269cf)
llvm#126606) A new callback was added with the type CommandReturnObjectCallbackResult, this commit namespaces that type to match the format of other callback functions that have a non-primitive return type in the lldb namespace. rdar://144553496
llvm#126606) A new callback was added with the type CommandReturnObjectCallbackResult, this commit namespaces that type to match the format of other callback functions that have a non-primitive return type in the lldb namespace. rdar://144553496
llvm#126606) A new callback was added with the type CommandReturnObjectCallbackResult, this commit namespaces that type to match the format of other callback functions that have a non-primitive return type in the lldb namespace. rdar://144553496
A new callback was added with the type
CommandReturnObjectCallbackResult, this commit namespaces that type to match the format of other callback functions that have a non-primitive return type in the lldb namespace.
rdar://144553496