================
@@ -85,7 +85,7 @@ class ScriptedPythonInterface : virtual public
ScriptedInterface {
bool has_class_name = !class_name.empty();
bool has_interpreter_dict =
!(llvm::StringRef(m_interpreter.GetDictionaryName()).empty());
- if (!has_class_name && !has_interpreter_dict && !script_obj) {
+ if (!has_class_name || !has_interpreter_dict || !script_obj) {
if (!has_class_name)
----------------
adrian-prantl wrote:
it would be better to hoist this above the previous condition?
https://github.com/llvm/llvm-project/pull/94779
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits