diff options
Diffstat (limited to 'lldb/source/Interpreter/OptionGroupPlatform.cpp')
-rw-r--r-- | lldb/source/Interpreter/OptionGroupPlatform.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lldb/source/Interpreter/OptionGroupPlatform.cpp b/lldb/source/Interpreter/OptionGroupPlatform.cpp index 47974276c8c..c0d24a556eb 100644 --- a/lldb/source/Interpreter/OptionGroupPlatform.cpp +++ b/lldb/source/Interpreter/OptionGroupPlatform.cpp @@ -65,21 +65,21 @@ void OptionGroupPlatform::OptionParsingStarting( m_os_version = llvm::VersionTuple(); } -static OptionDefinition g_option_table[] = { +static constexpr OptionDefinition g_option_table[] = { {LLDB_OPT_SET_ALL, false, "platform", 'p', OptionParser::eRequiredArgument, - nullptr, nullptr, 0, eArgTypePlatform, "Specify name of the platform to " - "use for this target, creating the " - "platform if necessary."}, + nullptr, {}, 0, eArgTypePlatform, "Specify name of the platform to " + "use for this target, creating the " + "platform if necessary."}, {LLDB_OPT_SET_ALL, false, "version", 'v', OptionParser::eRequiredArgument, - nullptr, nullptr, 0, eArgTypeNone, + nullptr, {}, 0, eArgTypeNone, "Specify the initial SDK version to use prior to connecting."}, {LLDB_OPT_SET_ALL, false, "build", 'b', OptionParser::eRequiredArgument, - nullptr, nullptr, 0, eArgTypeNone, + nullptr, {}, 0, eArgTypeNone, "Specify the initial SDK build number."}, {LLDB_OPT_SET_ALL, false, "sysroot", 'S', OptionParser::eRequiredArgument, - nullptr, nullptr, 0, eArgTypeFilename, "Specify the SDK root directory " - "that contains a root of all " - "remote system files."}}; + nullptr, {}, 0, eArgTypeFilename, "Specify the SDK root directory " + "that contains a root of all " + "remote system files."}}; llvm::ArrayRef<OptionDefinition> OptionGroupPlatform::GetDefinitions() { llvm::ArrayRef<OptionDefinition> result(g_option_table); |