summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/NativeWatchpointList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/common/NativeWatchpointList.cpp')
-rw-r--r--lldb/source/Host/common/NativeWatchpointList.cpp24
1 files changed, 10 insertions, 14 deletions
diff --git a/lldb/source/Host/common/NativeWatchpointList.cpp b/lldb/source/Host/common/NativeWatchpointList.cpp
index 209d213b8e5..5948adf3c8d 100644
--- a/lldb/source/Host/common/NativeWatchpointList.cpp
+++ b/lldb/source/Host/common/NativeWatchpointList.cpp
@@ -14,22 +14,18 @@
using namespace lldb;
using namespace lldb_private;
-Error
-NativeWatchpointList::Add (addr_t addr, size_t size, uint32_t watch_flags, bool hardware)
-{
- m_watchpoints[addr] = {addr, size, watch_flags, hardware};
- return Error ();
+Error NativeWatchpointList::Add(addr_t addr, size_t size, uint32_t watch_flags,
+ bool hardware) {
+ m_watchpoints[addr] = {addr, size, watch_flags, hardware};
+ return Error();
}
-Error
-NativeWatchpointList::Remove (addr_t addr)
-{
- m_watchpoints.erase(addr);
- return Error ();
+Error NativeWatchpointList::Remove(addr_t addr) {
+ m_watchpoints.erase(addr);
+ return Error();
}
-const NativeWatchpointList::WatchpointMap&
-NativeWatchpointList::GetWatchpointMap () const
-{
- return m_watchpoints;
+const NativeWatchpointList::WatchpointMap &
+NativeWatchpointList::GetWatchpointMap() const {
+ return m_watchpoints;
}
OpenPOWER on IntegriCloud