mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Fix an issue where the @lldb.command marker would not work with the new 5-argument version of the Python command function
This: a) teaches PythonCallable to look inside a callable object b) teaches PythonCallable to discover whether a callable method is bound c) teaches lldb.command to dispatch to either the older 4 argument version or the newer 5 argument version llvm-svn: 273640
This commit is contained in:
1 parent
68f7f1cf00
commit
a5d6765cb0
4 files changed
+36
-6
No files matched your search
@@ -502,6 +502,7 @@ class PythonCallable : public PythonObject
|
||||
public:
|
||||
struct ArgInfo {
|
||||
size_t count;
|
||||
bool is_bound_method : 1;
|
||||
bool has_varargs : 1;
|
||||
bool has_kwargs : 1;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user