summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-02-04 10:42:27 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-02-04 10:42:27 +0000
commitcfd99494acf5d3ad7ba29cb5bb5c6fbbb52ce978 (patch)
treefee07bfc1d2e74e49302b27eaf909ef3b9c892f0 /TAO/TAO_IDL/be
parente9927f1f86ac86df8ff2ae3add25e158cd65600b (diff)
downloadATCD-cfd99494acf5d3ad7ba29cb5bb5c6fbbb52ce978.tar.gz
Fixed fuzz
Diffstat (limited to 'TAO/TAO_IDL/be')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_component/any_op_cs.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_root/root.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp4
-rw-r--r--TAO/TAO_IDL/be/be_visitor_sequence/serializer_op_cs.cpp6
-rw-r--r--TAO/TAO_IDL/be/be_visitor_xplicit_pre_proc.cpp55
9 files changed, 46 insertions, 31 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp b/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp
index dee165a8458..02afb1016e6 100644
--- a/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp
@@ -1,3 +1,5 @@
+// $Id$
+
// ============================================================================
//
// = LIBRARY
diff --git a/TAO/TAO_IDL/be/be_visitor_component/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_component/any_op_cs.cpp
index c36c29ac149..f3664fa0b44 100644
--- a/TAO/TAO_IDL/be/be_visitor_component/any_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_component/any_op_cs.cpp
@@ -1,4 +1,4 @@
-// $id: any_op_cs.cpp,v 1.12 1998/10/30 19:46:55 levine Exp $
+// $Id$
// ============================================================================
//
diff --git a/TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp
index a958bf1338d..3b38b21e2ce 100644
--- a/TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_exception/any_op_cs.cpp
@@ -1,3 +1,5 @@
+// $Id$
+
// ============================================================================
//
// = LIBRARY
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp
index 3d86f89d1ad..d9974e2aae1 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/any_op_cs.cpp
@@ -1,3 +1,5 @@
+// $Id$
+
// ============================================================================
//
// = LIBRARY
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp
index 8f5a25fa7ec..fb03eac7a04 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_ci.cpp
@@ -1,3 +1,5 @@
+// $Id$
+
// ============================================================================
//
// = LIBRARY
diff --git a/TAO/TAO_IDL/be/be_visitor_root/root.cpp b/TAO/TAO_IDL/be/be_visitor_root/root.cpp
index 76d1e5fc02c..32258714646 100644
--- a/TAO/TAO_IDL/be/be_visitor_root/root.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_root/root.cpp
@@ -1,3 +1,5 @@
+// $Id$
+
// ============================================================================
//
// = LIBRARY
diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp
index bab35e07843..7d8e4edd931 100644
--- a/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_sequence/cdr_op_cs.cpp
@@ -1,3 +1,5 @@
+// $Id$
+
// ============================================================================
//
// = LIBRARY
@@ -130,7 +132,7 @@ be_visitor_sequence_cdr_op_cs::visit_sequence (be_sequence *node)
<< be_uidt_nl;
*os << "}" << be_nl;
-
+
if (be_global->gen_ostream_operators ())
{
node->gen_ostream_operator (os, false);
diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/serializer_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/serializer_op_cs.cpp
index 550036b63e1..9e346007206 100644
--- a/TAO/TAO_IDL/be/be_visitor_sequence/serializer_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_sequence/serializer_op_cs.cpp
@@ -1,3 +1,5 @@
+// $Id$
+
// ============================================================================
//
// = LIBRARY
@@ -91,8 +93,8 @@ be_visitor_sequence_serializer_op_cs::visit_sequence (be_sequence *node)
if (be_global->gen_dcps_type_support_only ())
{
- *os << be_nl << be_nl
- << "#endif /* end of disabling TAO specific code */"
+ *os << be_nl << be_nl
+ << "#endif /* end of disabling TAO specific code */"
<< be_nl << be_nl;
}
diff --git a/TAO/TAO_IDL/be/be_visitor_xplicit_pre_proc.cpp b/TAO/TAO_IDL/be/be_visitor_xplicit_pre_proc.cpp
index d1e1bd5678f..3e3920c164c 100644
--- a/TAO/TAO_IDL/be/be_visitor_xplicit_pre_proc.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_xplicit_pre_proc.cpp
@@ -39,7 +39,7 @@ be_visitor_xplicit_pre_proc::visit_home (be_home *node)
{
this->node_ = node;
UTL_NameList *parent_list = this->compute_inheritance (node);
-
+
FE_InterfaceHeader header (0,
parent_list,
false,
@@ -51,7 +51,7 @@ be_visitor_xplicit_pre_proc::visit_home (be_home *node)
// interface construction time.
AST_Module *m =
AST_Module::narrow_from_scope (node->defined_in ());
-
+
idl_global->scopes ().push (m);
UTL_ScopedName *explicit_name =
@@ -70,13 +70,13 @@ be_visitor_xplicit_pre_proc::visit_home (be_home *node)
false,
false),
0);
-
+
(void) m->be_add_interface (i);
-
+
i->original_interface (node);
-
+
idl_global->scopes ().push (i);
-
+
if (this->visit_scope (node) != 0)
{
ACE_ERROR_RETURN ((LM_ERROR,
@@ -92,16 +92,16 @@ be_visitor_xplicit_pre_proc::visit_home (be_home *node)
explicit_name->destroy ();
delete explicit_name;
explicit_name = 0;
-
+
header.destroy ();
-
+
parent_list->destroy ();
delete parent_list;
parent_list = 0;
-
+
// Through with the scope containing the home.
idl_global->scopes ().pop ();
-
+
this->xplicit_ = i;
return 0;
@@ -120,12 +120,12 @@ be_visitor_xplicit_pre_proc::visit_operation (be_operation *node)
false,
false),
-1);
-
+
home_op->be_add_exceptions (node->exceptions ());
-
+
idl_global->scopes ().top ()->add_to_scope (home_op);
idl_global->scopes ().push (home_op);
-
+
if (this->visit_scope (home_op) != 0)
{
ACE_ERROR_RETURN ((LM_ERROR,
@@ -134,9 +134,9 @@ be_visitor_xplicit_pre_proc::visit_operation (be_operation *node)
ACE_TEXT ("for scope failed\n")),
-1);
}
-
+
idl_global->scopes ().pop ();
-
+
return 0;
}
@@ -151,9 +151,9 @@ be_visitor_xplicit_pre_proc::visit_argument (be_argument *node)
node->field_type (),
&sn),
-1);
-
+
idl_global->scopes ().top ()->add_to_scope (added_arg);
-
+
return 0;
}
@@ -170,14 +170,14 @@ be_visitor_xplicit_pre_proc::visit_factory (be_factory *node)
false,
false),
-1);
-
+
AST_Interface *d =
AST_Interface::narrow_from_scope (
idl_global->scopes ().top ());
-
+
idl_global->scopes ().top ()->add_to_scope (added_factory);
idl_global->scopes ().push (added_factory);
-
+
if (this->visit_scope (node) != 0)
{
ACE_ERROR_RETURN ((LM_ERROR,
@@ -186,9 +186,9 @@ be_visitor_xplicit_pre_proc::visit_factory (be_factory *node)
ACE_TEXT ("for scope failed\n")),
-1);
}
-
+
idl_global->scopes ().pop ();
-
+
return 0;
}
@@ -205,10 +205,10 @@ be_visitor_xplicit_pre_proc::visit_finder (be_finder *node)
false,
false),
-1);
-
+
idl_global->scopes ().top ()->add_to_scope (added_finder);
idl_global->scopes ().push (added_finder);
-
+
if (this->visit_scope (node) != 0)
{
ACE_ERROR_RETURN ((LM_ERROR,
@@ -217,9 +217,9 @@ be_visitor_xplicit_pre_proc::visit_finder (be_finder *node)
ACE_TEXT ("for scope failed\n")),
-1);
}
-
+
idl_global->scopes ().pop ();
-
+
return 0;
}
@@ -227,4 +227,5 @@ be_interface *
be_visitor_xplicit_pre_proc::xplicit (void) const
{
return this->xplicit_;
-} \ No newline at end of file
+}
+