This revision was automatically updated to reflect the committed changes. Closed by commit rGffe982f96bff: [lldb] Stop generating swig bindings for SBLaunchInfo copy constructor (authored by bulbazord).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D144228/new/ https://reviews.llvm.org/D144228 Files: lldb/include/lldb/API/SBLaunchInfo.h Index: lldb/include/lldb/API/SBLaunchInfo.h =================================================================== --- lldb/include/lldb/API/SBLaunchInfo.h +++ lldb/include/lldb/API/SBLaunchInfo.h @@ -26,7 +26,14 @@ ~SBLaunchInfo(); +#ifndef SWIG + // The copy constructor for SBLaunchInfo presents some problems on some + // supported versions of swig (e.g. 3.0.2). When trying to create an + // SBLaunchInfo from python with the argument `None`, swig will try to call + // the copy constructor instead of SBLaunchInfo(const char **). For that + // reason, we avoid exposing the copy constructor to python. SBLaunchInfo(const SBLaunchInfo &rhs); +#endif SBLaunchInfo &operator=(const SBLaunchInfo &rhs);
Index: lldb/include/lldb/API/SBLaunchInfo.h =================================================================== --- lldb/include/lldb/API/SBLaunchInfo.h +++ lldb/include/lldb/API/SBLaunchInfo.h @@ -26,7 +26,14 @@ ~SBLaunchInfo(); +#ifndef SWIG + // The copy constructor for SBLaunchInfo presents some problems on some + // supported versions of swig (e.g. 3.0.2). When trying to create an + // SBLaunchInfo from python with the argument `None`, swig will try to call + // the copy constructor instead of SBLaunchInfo(const char **). For that + // reason, we avoid exposing the copy constructor to python. SBLaunchInfo(const SBLaunchInfo &rhs); +#endif SBLaunchInfo &operator=(const SBLaunchInfo &rhs);
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits