[Lldb-commits] [lldb] [lldb] Make SBProgress move-only (PR #124843)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 28 14:03:05 PST 2025
================
@@ -51,6 +51,10 @@ class LLDB_API SBProgress {
SBProgress(const char *title, const char *details, uint64_t total_units,
SBDebugger &debugger);
+#ifndef SWIG
----------------
bulbazord wrote:
This is a header guard that prevents SWIG from processing the move constructor. SWIG generates the bindings by reading the API headers and doesn't handle move constructors well. SBStream does the same thing.
When the headers are installed for distribution, this header guard is removed with `unifdef`.
https://github.com/llvm/llvm-project/pull/124843
More information about the lldb-commits
mailing list