aboutsummaryrefslogtreecommitdiff
path: root/odb/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-09-12 14:28:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-09-12 14:28:03 +0200
commitc0931400a1c5f02cf145c90fd7e34216836efd88 (patch)
tree5e13c5864e5f3c944a316f9189eb87976c8908c0 /odb/context.cxx
parentf01ad68661d62af62087b7b1ae29628f028e9eaa (diff)
Implement --output-name, --generate-schema-only, and --at-once options
Diffstat (limited to 'odb/context.cxx')
-rw-r--r--odb/context.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/odb/context.cxx b/odb/context.cxx
index fab5432..099b10b 100644
--- a/odb/context.cxx
+++ b/odb/context.cxx
@@ -2100,28 +2100,3 @@ process_include_path (string const& ip, bool prefix, char open)
return r;
}
-
-// namespace
-//
-
-void namespace_::
-traverse (type& ns)
-{
- // Only traverse namespaces from the main file.
- //
- if (ns.file () == unit.file ())
- {
- string name (ns.name ());
-
- if (name.empty ())
- os << "namespace";
- else
- os << "namespace " << name;
-
- os << "{";
-
- traversal::namespace_::traverse (ns);
-
- os << "}";
- }
-}