diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-08 14:51:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-27 11:38:53 +0300 |
commit | 720c5a33b6a49cf328fdd7611f49153cf8f60247 (patch) | |
tree | 9725f3d1f42ec90fde84520f49647edea013ce5e /cli/semantics/unit.cxx | |
parent | 3183f3bb927a90783ae0aeaf190a0919377aabe4 (diff) |
Separate tests and examples into individual packages
Also make cli module to be explicitly enabled via the config.cli configuration
variable.
Diffstat (limited to 'cli/semantics/unit.cxx')
-rw-r--r-- | cli/semantics/unit.cxx | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/cli/semantics/unit.cxx b/cli/semantics/unit.cxx deleted file mode 100644 index 9c532ea..0000000 --- a/cli/semantics/unit.cxx +++ /dev/null @@ -1,63 +0,0 @@ -// file : cli/semantics/unit.cxx -// author : Boris Kolpackov <boris@codesynthesis.com> -// license : MIT; see accompanying LICENSE file - -#include <cutl/compiler/type-info.hxx> - -#include <cli/semantics/unit.hxx> - -namespace semantics -{ - // type info - // - namespace - { - struct init - { - init () - { - using compiler::type_info; - - // includes - // - { - type_info ti (typeid (includes)); - ti.add_base (typeid (edge)); - insert (ti); - } - - // cxx_includes - // - { - type_info ti (typeid (cxx_includes)); - ti.add_base (typeid (includes)); - insert (ti); - } - - // cli_includes - // - { - type_info ti (typeid (cli_includes)); - ti.add_base (typeid (includes)); - insert (ti); - } - - // cxx_unit - // - { - type_info ti (typeid (cxx_unit)); - ti.add_base (typeid (node)); - insert (ti); - } - - // cli_unit - // - { - type_info ti (typeid (cli_unit)); - ti.add_base (typeid (namespace_)); - insert (ti); - } - } - } init_; - } -} |