diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-04-30 13:28:42 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-04-30 13:41:21 -0700 |
commit | 4b354039423f2a4d50cf70564faf52d8bb8a6fe3 (patch) | |
tree | a916012e64b6cd81296a7e50abd144633c33f63f /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | b5be1c5419e2a38eb60fc7e785567b54b6d9e0e0 (diff) | |
download | llvm-4b354039423f2a4d50cf70564faf52d8bb8a6fe3.zip llvm-4b354039423f2a4d50cf70564faf52d8bb8a6fe3.tar.gz llvm-4b354039423f2a4d50cf70564faf52d8bb8a6fe3.tar.bz2 |
[lldb/API] Move SBCommandInterpreterRunOption in its own header. (NFC)
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions