[Lldb-commits] [lldb] r343500 - Fix build with GCC < 5.0 (PR39131)

Tatyana Krasnukha via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 1 10:14:12 PDT 2018


Author: tkrasnukha
Date: Mon Oct  1 10:14:12 2018
New Revision: 343500

URL: http://llvm.org/viewvc/llvm-project?rev=343500&view=rev
Log:
Fix build with GCC < 5.0 (PR39131)






Modified:
    lldb/trunk/source/Commands/CommandObjectType.cpp

Modified: lldb/trunk/source/Commands/CommandObjectType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectType.cpp?rev=343500&r1=343499&r2=343500&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectType.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectType.cpp Mon Oct  1 10:14:12 2018
@@ -1055,7 +1055,7 @@ class CommandObjectTypeFormatterList : p
     }
 
     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."}




More information about the lldb-commits mailing list