From 823026b58211a4166de06ac243d978dcb9930271 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 22 Jan 2024 15:58:08 +0300 Subject: Turn odb repository into muti-package repository Also remove the autoconf/make-based build system. --- odb/semantics/unit.cxx | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 odb/semantics/unit.cxx (limited to 'odb/semantics/unit.cxx') diff --git a/odb/semantics/unit.cxx b/odb/semantics/unit.cxx deleted file mode 100644 index 4f92aed..0000000 --- a/odb/semantics/unit.cxx +++ /dev/null @@ -1,42 +0,0 @@ -// file : odb/semantics/unit.cxx -// license : GNU GPL v3; see accompanying LICENSE file - -#include - -#include -#include - -namespace semantics -{ - unit:: - unit (path const& file) - : node (file, 1, 1, global_namespace), graph_ (*this) - { - // Use a special edge to get this->name() return the global - // namespace name (""). - // - new_edge (*this, *this); - node::unit (*this); - } - - // type info - // - namespace - { - struct init - { - init () - { - using compiler::type_info; - - // unit - // - { - type_info ti (typeid (unit)); - ti.add_base (typeid (namespace_)); - insert (ti); - } - } - } init_; - } -} -- cgit v1.1