aboutsummaryrefslogtreecommitdiff
path: root/source/Target/MemoryHistory.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
commit14f1b3e8826ce43b978db93a62d1166055db5394 (patch)
tree0a00ad8d3498783fe0193f3b656bca17c4c8697d /source/Target/MemoryHistory.cpp
parent4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff)
downloadsrc-14f1b3e8826ce43b978db93a62d1166055db5394.tar.gz
src-14f1b3e8826ce43b978db93a62d1166055db5394.zip
Vendor import of lldb trunk r290819:vendor/lldb/lldb-trunk-r290819
Notes
Notes: svn path=/vendor/lldb/dist/; revision=311128 svn path=/vendor/lldb/lldb-trunk-r290819/; revision=311129; tag=vendor/lldb/lldb-trunk-r290819
Diffstat (limited to 'source/Target/MemoryHistory.cpp')
-rw-r--r--source/Target/MemoryHistory.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/source/Target/MemoryHistory.cpp b/source/Target/MemoryHistory.cpp
index 33860f868ee5..627942796507 100644
--- a/source/Target/MemoryHistory.cpp
+++ b/source/Target/MemoryHistory.cpp
@@ -17,17 +17,17 @@
using namespace lldb;
using namespace lldb_private;
-lldb::MemoryHistorySP
-MemoryHistory::FindPlugin (const ProcessSP process)
-{
- MemoryHistoryCreateInstance create_callback = nullptr;
-
- for (uint32_t idx = 0; (create_callback = PluginManager::GetMemoryHistoryCreateCallbackAtIndex(idx)) != nullptr; ++idx)
- {
- MemoryHistorySP memory_history_sp (create_callback (process));
- if (memory_history_sp)
- return memory_history_sp;
- }
-
- return MemoryHistorySP();
+lldb::MemoryHistorySP MemoryHistory::FindPlugin(const ProcessSP process) {
+ MemoryHistoryCreateInstance create_callback = nullptr;
+
+ for (uint32_t idx = 0;
+ (create_callback = PluginManager::GetMemoryHistoryCreateCallbackAtIndex(
+ idx)) != nullptr;
+ ++idx) {
+ MemoryHistorySP memory_history_sp(create_callback(process));
+ if (memory_history_sp)
+ return memory_history_sp;
+ }
+
+ return MemoryHistorySP();
}