From e0d378b3340c67c774b0e27593347d9c521fe86f Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 24 Mar 2011 21:19:54 +0000 Subject: Fixed the LLDB build so that we can have private types, private enums and public types and public enums. This was done to keep the SWIG stuff from parsing all sorts of enums and types that weren't needed, and allows us to abstract our API better. llvm-svn: 128239 --- lldb/source/Commands/CommandObjectSource.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lldb/source/Commands/CommandObjectSource.cpp') diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index bc9fc37..2c7fb33 100644 --- a/lldb/source/Commands/CommandObjectSource.cpp +++ b/lldb/source/Commands/CommandObjectSource.cpp @@ -81,12 +81,12 @@ class CommandObjectSourceInfo : public CommandObject start_line = 0; } - const lldb::OptionDefinition* + const OptionDefinition* GetDefinitions () { return g_option_table; } - static lldb::OptionDefinition g_option_table[]; + static OptionDefinition g_option_table[]; // Instance variables to hold the values for command options. FileSpec file_spec; @@ -131,7 +131,7 @@ protected: CommandOptions m_options; }; -lldb::OptionDefinition +OptionDefinition CommandObjectSourceInfo::CommandOptions::g_option_table[] = { { LLDB_OPT_SET_1, false, "line", 'l', required_argument, NULL, 0, eArgTypeLineNum, "The line number at which to start the display source."}, @@ -210,12 +210,12 @@ class CommandObjectSourceList : public CommandObject m_modules.clear(); } - const lldb::OptionDefinition* + const OptionDefinition* GetDefinitions () { return g_option_table; } - static lldb::OptionDefinition g_option_table[]; + static OptionDefinition g_option_table[]; // Instance variables to hold the values for command options. FileSpec file_spec; @@ -568,7 +568,7 @@ protected: }; -lldb::OptionDefinition +OptionDefinition CommandObjectSourceList::CommandOptions::g_option_table[] = { { LLDB_OPT_SET_ALL, false, "count", 'c', required_argument, NULL, 0, eArgTypeCount, "The number of source lines to display."}, -- cgit v1.1