[Lldb-commits] [PATCH] Turn off 'quit' confirmation in lldb-mi
ki.stfu at gmail.com
Mon Mar 23 15:03:11 PDT 2015
Comment at: include/lldb/API/SBCommandInterpreter.h:223
@@ +222,3 @@
+ GetPromptOnQuit() const;
> You can actually take the const off of this as it does nothing when your only member is an std::shared_ptr, std::auto_ptr or just a pointer. So please take off the const so it doesn't cause problems later. We should have no functions that return "const lldb::SB" objects.
I saw the same thing in scripts/Python/interface/SBTarget.i:
Should we remove the 'const' here?
More information about the lldb-commits