summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_decl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_decl.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_decl.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/ast/ast_decl.cpp b/TAO/TAO_IDL/ast/ast_decl.cpp
index 6dea30ae484..e12813d44f0 100644
--- a/TAO/TAO_IDL/ast/ast_decl.cpp
+++ b/TAO/TAO_IDL/ast/ast_decl.cpp
@@ -1662,3 +1662,14 @@ AST_Decl::should_be_dumped () const
bool is_builtin = builtin ();
return !is_builtin || (is_builtin && idl_global->dump_builtins_);
}
+
+AST_Annotation_Appls &
+AST_Decl::annotations ()
+{
+ if (!annotation_appls_)
+ {
+ annotation_appls_ = new AST_Annotation_Appls;
+ }
+
+ return *annotation_appls_;
+}