summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2018-09-27 07:11:58 +0000
committerTatyana Krasnukha <tatyana@synopsys.com>2018-09-27 07:11:58 +0000
commite40db05b27750d40a61d7b9d8be8d18b23218941 (patch)
treec78d70def4941cac312d233c5409899c22fa773b /lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
parent041e68fe1e00ba949deb36f6f9da893a83dbc7fe (diff)
downloadbcm5719-llvm-e40db05b27750d40a61d7b9d8be8d18b23218941.tar.gz
bcm5719-llvm-e40db05b27750d40a61d7b9d8be8d18b23218941.zip
Replace pointer to C-array of PropertyDefinition with llvm::ArrayRef
Differential Revision: https://reviews.llvm.org/D52572 llvm-svn: 343181
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp')
-rw-r--r--lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp b/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
index 0b17d26a317..600a67fc6f8 100644
--- a/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
+++ b/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.cpp
@@ -48,8 +48,7 @@ namespace {
static constexpr PropertyDefinition g_properties[] = {
{"enable", OptionValue::eTypeBoolean, true, true, nullptr, {},
- "Specify whether goroutines should be treated as threads."},
- {nullptr, OptionValue::eTypeInvalid, false, 0, nullptr, {}, nullptr}};
+ "Specify whether goroutines should be treated as threads."}};
enum {
ePropertyEnableGoroutines,
OpenPOWER on IntegriCloud