aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/StructuredData
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/StructuredData
parent041e68fe1e00ba949deb36f6f9da893a83dbc7fe (diff)
downloadllvm-e40db05b27750d40a61d7b9d8be8d18b23218941.tar.gz
llvm-e40db05b27750d40a61d7b9d8be8d18b23218941.tar.bz2
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/StructuredData')
-rw-r--r--lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
index 13af49cb5f5a..d00a17d39e6a 100644
--- a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
+++ b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
@@ -133,9 +133,7 @@ static constexpr PropertyDefinition g_properties[] = {
"Specify the options to 'plugin structured-data darwin-log enable' "
"that should be applied when automatically enabling logging on "
"startup/attach." // description
- },
- // Last entry sentinel.
- {nullptr, OptionValue::eTypeInvalid, false, 0, nullptr, {}, nullptr}};
+ }};
enum { ePropertyEnableOnStartup = 0, ePropertyAutoEnableOptions = 1 };