summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hornsey <hornseyf@objectcomputing.com>2018-12-04 11:17:08 -0600
committerFred Hornsey <hornseyf@objectcomputing.com>2018-12-04 11:17:08 -0600
commit96e4c7daeb8b3a762418a3c9004169b147c955c3 (patch)
tree4610f12bac99a57ef649f0376c055aef9c32363c
parent21764761cadd82f2aefdbd00037c4500bb863d6d (diff)
downloadATCD-96e4c7daeb8b3a762418a3c9004169b147c955c3.tar.gz
tao_idl: no op visitor for annotation decl
-rw-r--r--TAO/TAO_IDL/ast/ast_annotation_decl.cpp6
-rw-r--r--TAO/TAO_IDL/include/ast_annotation_decl.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/ast/ast_annotation_decl.cpp b/TAO/TAO_IDL/ast/ast_annotation_decl.cpp
index aa224ec54f7..2ba00577408 100644
--- a/TAO/TAO_IDL/ast/ast_annotation_decl.cpp
+++ b/TAO/TAO_IDL/ast/ast_annotation_decl.cpp
@@ -99,3 +99,9 @@ AST_Annotation_Decl::fe_add_constant (AST_Constant *t)
{
return AST_Constant::narrow_from_decl (fe_add_decl (t));
}
+
+int
+AST_Annotation_Decl::ast_accept (ast_visitor *visitor)
+{
+ return 0;
+}
diff --git a/TAO/TAO_IDL/include/ast_annotation_decl.h b/TAO/TAO_IDL/include/ast_annotation_decl.h
index f4a08799742..2b3ad8a87d2 100644
--- a/TAO/TAO_IDL/include/ast_annotation_decl.h
+++ b/TAO/TAO_IDL/include/ast_annotation_decl.h
@@ -48,6 +48,8 @@ public:
AST_Annotation_Member *annotation_member);
virtual AST_Constant *fe_add_constant (AST_Constant *t);
+
+ virtual int ast_accept (ast_visitor *visitor);
};
#endif