summaryrefslogtreecommitdiff
path: root/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-20 15:00:15 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-20 15:00:15 +0000
commit763d4102c9736544f95a61d4d0a9a5be8c5a5df1 (patch)
treeb4a2965a49e80461fb52cd69d55f966058e7ef4d /contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp
parent0e23b2ff8c430cd1145afb7bd55917c326bb1d06 (diff)
parent94994d372d014ce4c8758b9605d63fae651bd8aa (diff)
Notes
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp')
-rw-r--r--contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp b/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp
index bf02d1b660cf..0859877774cc 100644
--- a/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp
+++ b/contrib/llvm/tools/lldb/source/Interpreter/OptionGroupUUID.cpp
@@ -9,10 +9,6 @@
#include "lldb/Interpreter/OptionGroupUUID.h"
-// C Includes
-// C++ Includes
-// Other libraries and framework includes
-// Project includes
#include "lldb/Host/OptionParser.h"
using namespace lldb;
@@ -22,9 +18,9 @@ OptionGroupUUID::OptionGroupUUID() : m_uuid() {}
OptionGroupUUID::~OptionGroupUUID() {}
-static OptionDefinition g_option_table[] = {
+static constexpr OptionDefinition g_option_table[] = {
{LLDB_OPT_SET_1, false, "uuid", 'u', OptionParser::eRequiredArgument,
- nullptr, nullptr, 0, eArgTypeNone, "A module UUID value."},
+ nullptr, {}, 0, eArgTypeNone, "A module UUID value."},
};
llvm::ArrayRef<OptionDefinition> OptionGroupUUID::GetDefinitions() {