summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2018-10-01 17:14:12 +0000
committerTatyana Krasnukha <tatyana@synopsys.com>2018-10-01 17:14:12 +0000
commit9ea0fa2677d3106222addf528070f8a9c4fa7cb4 (patch)
treeb5a595ceef73e7cd34ed517e10ac16be9019171a
parentf1f8cc966fa6c1e4d79c657a2e0de4ed2408a131 (diff)
Fix build with GCC < 5.0 (PR39131)
-rw-r--r--lldb/source/Commands/CommandObjectType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectType.cpp b/lldb/source/Commands/CommandObjectType.cpp
index a15686edcab..5795ed665db 100644
--- a/lldb/source/Commands/CommandObjectType.cpp
+++ b/lldb/source/Commands/CommandObjectType.cpp
@@ -1055,7 +1055,7 @@ class CommandObjectTypeFormatterList : public CommandObjectParsed {
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- static constexpr OptionDefinition g_option_table[] = {
+ static constexpr OptionDefinition g_option_table[] {
// clang-format off
{LLDB_OPT_SET_1, false, "category-regex", 'w', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeName, "Only show categories matching this filter."},
{LLDB_OPT_SET_2, false, "language", 'l', OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeLanguage, "Only show the category for a specific language."}