diff options
author | Tatyana Krasnukha <tatyana@synopsys.com> | 2018-09-27 07:11:58 +0000 |
---|---|---|
committer | Tatyana Krasnukha <tatyana@synopsys.com> | 2018-09-27 07:11:58 +0000 |
commit | e40db05b27750d40a61d7b9d8be8d18b23218941 (patch) | |
tree | c78d70def4941cac312d233c5409899c22fa773b /lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | |
parent | 041e68fe1e00ba949deb36f6f9da893a83dbc7fe (diff) | |
download | bcm5719-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/Process/MacOSX-Kernel/ProcessKDP.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp index f19ebc25874..2f174932f7a 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp @@ -55,10 +55,9 @@ using namespace lldb_private; namespace { -static PropertyDefinition g_properties[] = { +static constexpr PropertyDefinition g_properties[] = { {"packet-timeout", OptionValue::eTypeUInt64, true, 5, NULL, {}, - "Specify the default packet timeout in seconds."}, - {NULL, OptionValue::eTypeInvalid, false, 0, NULL, {}, NULL}}; + "Specify the default packet timeout in seconds."}}; enum { ePropertyPacketTimeout }; |