Author: tfiala
Date: Fri Jul  4 01:09:04 2014
New Revision: 212317

URL: http://llvm.org/viewvc/llvm-project?rev=212317&view=rev
Log:
Fix OptionDefinition break from r212290.

Fixes some structure definitions in CommandObjectType
that needed to be adjusted for a new OptionDefinition
field.

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=212317&r1=212316&r2=212317&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectType.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectType.cpp Fri Jul  4 01:09:04 2014
@@ -3180,8 +3180,8 @@ CommandObjectTypeSynthRXList_LoopCallbac
 OptionDefinition
 CommandObjectTypeSynthList::CommandOptions::g_option_table[] =
 {
-    { LLDB_OPT_SET_ALL, false, "category-regex", 'w', 
OptionParser::eRequiredArgument, NULL, 0, eArgTypeName,  "Only show categories 
matching this filter."},
-    { 0, false, NULL, 0, 0, NULL, 0, eArgTypeNone, NULL }
+    { LLDB_OPT_SET_ALL, false, "category-regex", 'w', 
OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypeName,  "Only show 
categories matching this filter."},
+    { 0, false, NULL, 0, 0, NULL, NULL, 0, eArgTypeNone, NULL }
 };
 
 #endif // #ifndef LLDB_DISABLE_PYTHON
@@ -3510,9 +3510,9 @@ protected:
 OptionDefinition
 CommandObjectTypeSynthDelete::CommandOptions::g_option_table[] =
 {
-    { LLDB_OPT_SET_1, false, "all", 'a', OptionParser::eNoArgument, NULL, 0, 
eArgTypeNone,  "Delete from every category."},
-    { LLDB_OPT_SET_2, false, "category", 'w', OptionParser::eRequiredArgument, 
NULL, 0, eArgTypeName,  "Delete from given category."},
-    { 0, false, NULL, 0, 0, NULL, 0, eArgTypeNone, NULL }
+    { LLDB_OPT_SET_1, false, "all", 'a', OptionParser::eNoArgument, NULL, 
NULL, 0, eArgTypeNone,  "Delete from every category."},
+    { LLDB_OPT_SET_2, false, "category", 'w', OptionParser::eRequiredArgument, 
NULL, NULL, 0, eArgTypeName,  "Delete from given category."},
+    { 0, false, NULL, 0, 0, NULL, NULL, 0, eArgTypeNone, NULL }
 };
 
 #endif // #ifndef LLDB_DISABLE_PYTHON
@@ -3770,8 +3770,8 @@ protected:
 OptionDefinition
 CommandObjectTypeSynthClear::CommandOptions::g_option_table[] =
 {
-    { LLDB_OPT_SET_ALL, false, "all", 'a', OptionParser::eNoArgument, NULL, 0, 
eArgTypeNone,  "Clear every category."},
-    { 0, false, NULL, 0, 0, NULL, 0, eArgTypeNone, NULL }
+    { LLDB_OPT_SET_ALL, false, "all", 'a', OptionParser::eNoArgument, NULL, 
NULL, 0, eArgTypeNone,  "Clear every category."},
+    { 0, false, NULL, 0, 0, NULL, NULL, 0, eArgTypeNone, NULL }
 };
 
 
@@ -3947,14 +3947,14 @@ CommandObjectTypeSynthAdd::AddSynth(Cons
 OptionDefinition
 CommandObjectTypeSynthAdd::CommandOptions::g_option_table[] =
 {
-    { LLDB_OPT_SET_ALL, false, "cascade", 'C', 
OptionParser::eRequiredArgument, NULL, 0, eArgTypeBoolean,    "If true, cascade 
through typedef chains."},
-    { LLDB_OPT_SET_ALL, false, "skip-pointers", 'p', 
OptionParser::eNoArgument, NULL, 0, eArgTypeNone,         "Don't use this 
format for pointers-to-type objects."},
-    { LLDB_OPT_SET_ALL, false, "skip-references", 'r', 
OptionParser::eNoArgument, NULL, 0, eArgTypeNone,         "Don't use this 
format for references-to-type objects."},
-    { LLDB_OPT_SET_ALL, false, "category", 'w', 
OptionParser::eRequiredArgument, NULL, 0, eArgTypeName,         "Add this to 
the given category instead of the default one."},
-    { LLDB_OPT_SET_2, false, "python-class", 'l', 
OptionParser::eRequiredArgument, NULL, 0, eArgTypePythonClass,    "Use this 
Python class to produce synthetic children."},
-    { LLDB_OPT_SET_3, false, "input-python", 'P', OptionParser::eNoArgument, 
NULL, 0, eArgTypeNone,    "Type Python code to generate a class that provides 
synthetic children."},
-    { LLDB_OPT_SET_ALL, false,  "regex", 'x', OptionParser::eNoArgument, NULL, 
0, eArgTypeNone,    "Type names are actually regular expressions."},
-    { 0, false, NULL, 0, 0, NULL, 0, eArgTypeNone, NULL }
+    { LLDB_OPT_SET_ALL, false, "cascade", 'C', 
OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypeBoolean,    "If true, 
cascade through typedef chains."},
+    { LLDB_OPT_SET_ALL, false, "skip-pointers", 'p', 
OptionParser::eNoArgument, NULL, NULL, 0, eArgTypeNone,         "Don't use this 
format for pointers-to-type objects."},
+    { LLDB_OPT_SET_ALL, false, "skip-references", 'r', 
OptionParser::eNoArgument, NULL, NULL, 0, eArgTypeNone,         "Don't use this 
format for references-to-tNULL, ype objects."},
+    { LLDB_OPT_SET_ALL, false, "category", 'w', 
OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypeName,         "Add this 
to the given category instead of the default one."},
+    { LLDB_OPT_SET_2, false, "python-class", 'l', 
OptionParser::eRequiredArgument, NULL, NULL, 0, eArgTypePythonClass,    "Use 
this Python class to produce synthetic children."},
+    { LLDB_OPT_SET_3, false, "input-python", 'P', 
OptionParser::eNoArgument,NULL,  NULL, 0, eArgTypeNone,    "Type Python code to 
generate a class that NULL, provides synthetic children."},
+    { LLDB_OPT_SET_ALL, false,  "regex", 'x', OptionParser::eNoArgument, NULL, 
NULL, 0, eArgTypeNone,    "Type names are actually regular expressions."},
+    { 0, false, NULL, 0, 0, NULL, NULL, 0, eArgTypeNone, NULL }
 };
 
 #endif // #ifndef LLDB_DISABLE_PYTHON


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to