[CodeGenPrepare] Drop nsw flags in `optimizeLoadExt` (#118180)
[llvm-project.git] / lldb / bindings / interface / SBCommandReturnObjectExtensions.i
blobab9b376467b2b200d4ba03bac7625c707928fb4b
1 STRING_EXTENSION_OUTSIDE(SBCommandReturnObject)
3 %extend lldb::SBCommandReturnObject {
4 // transfer_ownership does nothing, and is here for compatibility with
5 // old scripts. Ownership is tracked by reference count in the ordinary way.
7 void SetImmediateOutputFile(lldb::FileSP BORROWED, bool transfer_ownership) {
8 self->SetImmediateOutputFile(BORROWED);
10 void SetImmediateErrorFile(lldb::FileSP BORROWED, bool transfer_ownership) {
11 self->SetImmediateErrorFile(BORROWED);
14 // wrapping the variadic Printf() with a plain Print()
15 // because it is hard to support varargs in SWIG bridgings
16 void Print (const char* str)
18 self->Printf("%s", str);