summaryrefslogtreecommitdiff
path: root/cli/traversal/unit.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-08 14:51:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-27 11:38:53 +0300
commit720c5a33b6a49cf328fdd7611f49153cf8f60247 (patch)
tree9725f3d1f42ec90fde84520f49647edea013ce5e /cli/traversal/unit.cxx
parent3183f3bb927a90783ae0aeaf190a0919377aabe4 (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/traversal/unit.cxx')
-rw-r--r--cli/traversal/unit.cxx46
1 files changed, 0 insertions, 46 deletions
diff --git a/cli/traversal/unit.cxx b/cli/traversal/unit.cxx
deleted file mode 100644
index cf10d1d..0000000
--- a/cli/traversal/unit.cxx
+++ /dev/null
@@ -1,46 +0,0 @@
-// file : cli/traversal/unit.cxx
-// author : Boris Kolpackov <boris@codesynthesis.com>
-// license : MIT; see accompanying LICENSE file
-
-#include <cli/traversal/unit.hxx>
-
-namespace traversal
-{
- // cxx_includes
- //
- void cxx_includes::
- traverse (type& e)
- {
- dispatch (e.includee ());
- }
-
- // cli_includes
- //
- void cli_includes::
- traverse (type& e)
- {
- dispatch (e.includee ());
- }
-
- // cli_unit
- //
- void cli_unit::
- traverse (type& u)
- {
- pre (u);
- iterate_and_dispatch (
- u.includes_begin (), u.includes_end (), edge_traverser ());
- names (u);
- post (u);
- }
-
- void cli_unit::
- pre (type&)
- {
- }
-
- void cli_unit::
- post (type&)
- {
- }
-}