aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSource.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-03-24 21:19:54 +0000
committerGreg Clayton <gclayton@apple.com>2011-03-24 21:19:54 +0000
commite0d378b3340c67c774b0e27593347d9c521fe86f (patch)
tree0e9feb6c8b3e8bd3179da4bc14a571fa97edd45d /lldb/source/Commands/CommandObjectSource.cpp
parentdd9eb21c3fbbd9ffc5dc9a3598c452460b8e3c55 (diff)
downloadllvm-e0d378b3340c67c774b0e27593347d9c521fe86f.zip
llvm-e0d378b3340c67c774b0e27593347d9c521fe86f.tar.gz
llvm-e0d378b3340c67c774b0e27593347d9c521fe86f.tar.bz2
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSource.cpp12
1 files changed, 6 insertions, 6 deletions
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."},