diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-15 12:34:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-15 12:34:44 +0200 |
commit | de2acaa079cbf6bcb1db8fecd956789360d9dd5c (patch) | |
tree | 5f8f2dfaf0cb39d6074b4d77a5654f3b4a476825 /odb/semantics/fundamental.hxx | |
parent | b926362a9c1276ee15b5f961e912d8d37369e40b (diff) |
Maintain GCC tree node for all semantic graph nodes
Diffstat (limited to 'odb/semantics/fundamental.hxx')
-rw-r--r-- | odb/semantics/fundamental.hxx | 53 |
1 files changed, 17 insertions, 36 deletions
diff --git a/odb/semantics/fundamental.hxx b/odb/semantics/fundamental.hxx index 70c6162..3ac3551 100644 --- a/odb/semantics/fundamental.hxx +++ b/odb/semantics/fundamental.hxx @@ -21,21 +21,16 @@ namespace semantics virtual string fq_name (names*) const; - - protected: - fund_type (tree tn); }; struct fund_void: fund_type { - fund_void (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_void (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_bool: fund_type { - fund_bool (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_bool (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; // @@ -44,74 +39,63 @@ namespace semantics struct fund_char: fund_type { - fund_char (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_char (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_wchar: fund_type { - fund_wchar (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_wchar (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_signed_char: fund_type { - fund_signed_char (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_signed_char (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_unsigned_char: fund_type { - fund_unsigned_char (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_unsigned_char (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_short: fund_type { - fund_short (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_short (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_unsigned_short: fund_type { - fund_unsigned_short (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_unsigned_short (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_int: fund_type { - fund_int (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_int (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_unsigned_int: fund_type { - fund_unsigned_int (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_unsigned_int (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_long: fund_type { - fund_long (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_long (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_unsigned_long: fund_type { - fund_unsigned_long (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_unsigned_long (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_long_long: fund_type { - fund_long_long (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_long_long (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_unsigned_long_long: fund_type { fund_unsigned_long_long (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + : node (path ("<fundamental>"), 0, 0, tn) {} }; // @@ -120,20 +104,17 @@ namespace semantics struct fund_float: fund_type { - fund_float (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_float (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_double: fund_type { - fund_double (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_double (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; struct fund_long_double: fund_type { - fund_long_double (tree tn) - : node (path ("<fundamental>"), 0, 0), fund_type (tn) {} + fund_long_double (tree tn): node (path ("<fundamental>"), 0, 0, tn) {} }; } |