summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp b/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp
index d2cfc9934c8..100195bb188 100644
--- a/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_root/root_ch.cpp
@@ -152,9 +152,7 @@ be_visitor_root_ch::gen_fwd_decls ()
{
if (idl_global->non_local_iface_seen_)
{
- *o_ << be_nl_2
- << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__;
+ TAO_INSERT_COMMENT (o_);
*o_ << be_global->core_versioning_begin () << be_nl;
@@ -187,9 +185,7 @@ be_visitor_root_ch::gen_ref_counting_overrides ()
size_t index = 0;
be_interface_fwd *ifwd = nullptr;
- *o_ << be_nl_2
- << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__;
+ TAO_INSERT_COMMENT (o_);
for (index = 0; index < size; ++index)
{
@@ -233,10 +229,7 @@ be_visitor_root_ch::gen_static_corba_overrides ()
size_t index = 0;
AST_Interface *i = nullptr;
- *o_ << be_nl_2
- << "// TAO_IDL - Generated from" << be_nl
- << "// " << __FILE__ << ":" << __LINE__
- << be_nl;
+ TAO_INSERT_COMMENT (o_);
*o_ << be_global->core_versioning_begin ();