diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-25 13:47:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-25 13:47:43 +0200 |
commit | 01f77f6d38283b4efbe2b55fc9c7c837fd6498dc (patch) | |
tree | 12059fa0c514a3f2b9da2a9419593e3596cc6f5d /odb/semantics/elements.cxx | |
parent | ad637abaa62a26461b276769c35dd1b67036b54b (diff) |
Add support for union, enum, class/union template
Diffstat (limited to 'odb/semantics/elements.cxx')
-rw-r--r-- | odb/semantics/elements.cxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/odb/semantics/elements.cxx b/odb/semantics/elements.cxx index d14835c..caed01e 100644 --- a/odb/semantics/elements.cxx +++ b/odb/semantics/elements.cxx @@ -149,6 +149,23 @@ namespace semantics ti.add_base (typeid (node)); insert (ti); } + + // data_member + // + { + type_info ti (typeid (data_member)); + ti.add_base (typeid (nameable)); + ti.add_base (typeid (instance)); + insert (ti); + } + + // unsupported_type + // + { + type_info ti (typeid (unsupported_type)); + ti.add_base (typeid (type)); + insert (ti); + } } } init_; } |