summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectWatchpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpoint.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectWatchpoint.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectWatchpoint.cpp b/lldb/source/Commands/CommandObjectWatchpoint.cpp
index 83eb1dd9b7f..8e3f8e2ef56 100644
--- a/lldb/source/Commands/CommandObjectWatchpoint.cpp
+++ b/lldb/source/Commands/CommandObjectWatchpoint.cpp
@@ -226,7 +226,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_watchpoint_list_options;
+ return llvm::makeArrayRef(g_watchpoint_list_options);
}
// Instance variables to hold the values for command options.
@@ -587,7 +587,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_watchpoint_ignore_options;
+ return llvm::makeArrayRef(g_watchpoint_ignore_options);
}
// Instance variables to hold the values for command options.
@@ -718,7 +718,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_watchpoint_modify_options;
+ return llvm::makeArrayRef(g_watchpoint_modify_options);
}
// Instance variables to hold the values for command options.
OpenPOWER on IntegriCloud