forked from OSchip/llvm-project
4b35403942
Currently, `SBCommandInterpreterRunOptions` is defined in `SBCommandInterpreter.h`. Given that the options are always passed by reference, a forward declaration is sufficient. That's not the case for `SBCommandInterpreterRunResults`, which we need for a new overload for `RunCommandInterpreter` and that returns this new class by value. We can't include `SBCommandInterpreter.h` because `SBCommandInterpreter::GetDebugger()` returns SBDebugger by value and therefore needs a full definition. This patch moves the definition of `SBCommandInterpreterRunOptions` into a new header. In a later patch, `SBCommandInterpreterRunResults` will be defined in there as well, solving the aforementioned problem. Differential revision: https://reviews.llvm.org/D79115 |
||
---|---|---|
.. | ||
interface | ||
lua | ||
python | ||
CMakeLists.txt | ||
headers.swig | ||
interfaces.swig | ||
lua.swig | ||
macros.swig | ||
python.swig |