[Lldb-commits] [PATCH] D155129: [lldb] Move CommandOverrideCallbackWithResult to lldb_private namespace
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 13 11:21:56 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc25e48c5d776: [lldb] Move CommandOverrideCallbackWithResult to lldb_private namespace (authored by bulbazord).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155129/new/
https://reviews.llvm.org/D155129
Files:
lldb/include/lldb/Interpreter/CommandObject.h
lldb/include/lldb/lldb-private-types.h
lldb/include/lldb/lldb-types.h
Index: lldb/include/lldb/lldb-types.h
===================================================================
--- lldb/include/lldb/lldb-types.h
+++ lldb/include/lldb/lldb-types.h
@@ -71,8 +71,6 @@
typedef void (*LogOutputCallback)(const char *, void *baton);
typedef bool (*CommandOverrideCallback)(void *baton, const char **argv);
-typedef bool (*CommandOverrideCallbackWithResult)(
- void *baton, const char **argv, lldb_private::CommandReturnObject &result);
typedef bool (*ExpressionCancelCallback)(ExpressionEvaluationPhase phase,
void *baton);
Index: lldb/include/lldb/lldb-private-types.h
===================================================================
--- lldb/include/lldb/lldb-private-types.h
+++ lldb/include/lldb/lldb-private-types.h
@@ -121,6 +121,8 @@
typedef void (*DebuggerDestroyCallback)(lldb::user_id_t debugger_id,
void *baton);
+typedef bool (*CommandOverrideCallbackWithResult)(
+ void *baton, const char **argv, lldb_private::CommandReturnObject &result);
} // namespace lldb_private
#endif // #if defined(__cplusplus)
Index: lldb/include/lldb/Interpreter/CommandObject.h
===================================================================
--- lldb/include/lldb/Interpreter/CommandObject.h
+++ lldb/include/lldb/Interpreter/CommandObject.h
@@ -294,8 +294,9 @@
m_command_override_baton = baton;
}
- void SetOverrideCallback(lldb::CommandOverrideCallbackWithResult callback,
- void *baton) {
+ void
+ SetOverrideCallback(lldb_private::CommandOverrideCallbackWithResult callback,
+ void *baton) {
m_command_override_callback = callback;
m_command_override_baton = baton;
}
@@ -377,7 +378,7 @@
Flags m_flags;
std::vector<CommandArgumentEntry> m_arguments;
lldb::CommandOverrideCallback m_deprecated_command_override_callback;
- lldb::CommandOverrideCallbackWithResult m_command_override_callback;
+ lldb_private::CommandOverrideCallbackWithResult m_command_override_callback;
void *m_command_override_baton;
bool m_is_user_command = false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155129.540129.patch
Type: text/x-patch
Size: 2155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230713/aae3bb7b/attachment.bin>
More information about the lldb-commits
mailing list