================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to