diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-01-16 21:30:00 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2024-01-16 21:30:02 -0800 |
commit | 5aea6ba8f5f06e06887fe5c5c8740895907f6540 (patch) | |
tree | 72e1d9d064779e04e3b52bc1ca4e9d51e8a91637 /lldb | |
parent | ff9fcc74a356b8542e5ac782426c9d4c817143f3 (diff) | |
download | llvm-5aea6ba8f5f06e06887fe5c5c8740895907f6540.zip llvm-5aea6ba8f5f06e06887fe5c5c8740895907f6540.tar.gz llvm-5aea6ba8f5f06e06887fe5c5c8740895907f6540.tar.bz2 |
[lldb] Fix trailing whitespace & formatting in Core/Module.cpp (NFC)
I have my editor configured to remove trailing whitespace and every time
I touch this file I end up with a bunch of clang-format changes to lines
that were modified because of it. Nobody likes trailing whitespace so
this cleans up the file.
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/source/Core/Module.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index 331cf32..8ffa355 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -971,14 +971,14 @@ void Module::FindTypes(const TypeQuery &query, TypeResults &results) { symbols->FindTypes(query, results); } -static Debugger::DebuggerList +static Debugger::DebuggerList DebuggersOwningModuleRequestingInterruption(Module &module) { - Debugger::DebuggerList requestors - = Debugger::DebuggersRequestingInterruption(); + Debugger::DebuggerList requestors = + Debugger::DebuggersRequestingInterruption(); Debugger::DebuggerList interruptors; if (requestors.empty()) return interruptors; - + for (auto debugger_sp : requestors) { if (!debugger_sp->InterruptRequested()) continue; @@ -993,12 +993,12 @@ SymbolFile *Module::GetSymbolFile(bool can_create, Stream *feedback_strm) { if (!m_did_load_symfile.load()) { std::lock_guard<std::recursive_mutex> guard(m_mutex); if (!m_did_load_symfile.load() && can_create) { - Debugger::DebuggerList interruptors - = DebuggersOwningModuleRequestingInterruption(*this); + Debugger::DebuggerList interruptors = + DebuggersOwningModuleRequestingInterruption(*this); if (!interruptors.empty()) { for (auto debugger_sp : interruptors) { - REPORT_INTERRUPTION(*(debugger_sp.get()), - "Interrupted fetching symbols for module {0}", + REPORT_INTERRUPTION(*(debugger_sp.get()), + "Interrupted fetching symbols for module {0}", this->GetFileSpec()); } return nullptr; |