diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-11-01 14:45:11 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-11-01 14:45:11 +0000 |
commit | 5217ad9325f5a452071c2c7e88bcd6d9d5542358 (patch) | |
tree | cd0a7fb6398ad350d31d2d8c9aefb7fbab4956a0 /TAO | |
parent | 52f79428545e5be633d8b8e6b7df349e402c41cc (diff) | |
download | ATCD-5217ad9325f5a452071c2c7e88bcd6d9d5542358.tar.gz |
ChangeLogTag: Tue Nov 1 14:42:14 UTC 2005 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLog | 8 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp | 6 |
2 files changed, 13 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index e204edaabce..8ae9946e189 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,11 @@ +Tue Nov 1 14:42:14 UTC 2005 Jeff Parsons <j.parsons@vanderbilt.edu> + + * TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp: + + Fixed bug in generation of constructor initializing member + values that failed to screen out attributes when traversing + the valuetype's scope for stub source file generation. + Tue Nov 1 14:14:31 UTC 2005 Jeff Parsons <j.parsons@vanderbilt.edu> * tao/Managed_Types.h: diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp index 9e41c78d39f..52da0deeca9 100644 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype_obv_cs.cpp @@ -224,8 +224,10 @@ be_visitor_valuetype_obv_cs::gen_obv_init_constructor_init_list ( !si.is_done (); si.next()) { - AST_Field *f = AST_Field::narrow_from_decl (si.item ()); + be_field *f = be_field::narrow_from_decl (si.item ()); + // be_attribute doesn't inherit from be_field (unlike the + // AST_* counterparts, so this screens attributes and operations. if (f == 0) { continue; @@ -263,6 +265,8 @@ be_visitor_valuetype_obv_cs::gen_obv_init_base_constructor_args ( !si.is_done (); si.next()) { + // be_attribute doesn't inherit from be_field (unlike the + // AST_* counterparts, so this screens attributes and operations. be_field *f = be_field::narrow_from_decl (si.item ()); if (f == 0) |