Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / TAO_IDL / be / be_template_module.cpp
bloba82a74130578fc8493d6e3949d014407f87403c6
1 #include "be_template_module.h"
2 #include "be_visitor.h"
4 be_template_module::be_template_module (
5 UTL_ScopedName *n,
6 FE_Utils::T_PARAMLIST_INFO *template_params)
7 : COMMON_Base (false,
8 false),
9 AST_Decl (AST_Decl::NT_module,
10 n),
11 UTL_Scope (AST_Decl::NT_module),
12 AST_Module (n),
13 AST_Type (AST_Decl::NT_module,
14 n),
15 AST_Template_Module (n,
16 template_params),
17 be_scope (AST_Decl::NT_module),
18 be_decl (AST_Decl::NT_module,
23 be_template_module::~be_template_module ()
27 void
28 be_template_module::destroy ()
30 this->AST_Template_Module::destroy ();
31 this->be_scope::destroy ();
32 this->be_decl::destroy ();
35 int
36 be_template_module::accept (be_visitor *)
38 // Disables visitation when this node is encountered as part
39 // of a normal scope traversal. We will call
40 // visit_template_module() directly when the template module
41 // is instantiated, and match template args with template params
42 // to generate implied IDL.
43 return 0;