summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands
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
commit0fff5a87ca37966513e96216e99b079b4d2cfc04 (patch)
tree15d0732683a7871f396c2ffe1f990dbbfaf9c66d /lldb/source/Commands
parentaa84e1bba2671e7e640d45e8cb167be01292db70 (diff)
downloadbcm5719-llvm-0fff5a87ca37966513e96216e99b079b4d2cfc04.tar.gz
bcm5719-llvm-0fff5a87ca37966513e96216e99b079b4d2cfc04.zip
Fix build with GCC < 5.0 (PR39131)
llvm-svn: 343500
Diffstat (limited to 'lldb/source/Commands')
-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."}
OpenPOWER on IntegriCloud