• Home
  • Raw
  • Download

Lines Matching refs:decl_base

63   visit_begin(abigail::ir::decl_base* d)  in visit_begin()
105 do_update(abigail::ir::decl_base* d);
108 visit_begin(abigail::ir::decl_base* d);
264 has_generic_anonymous_internal_type_name(const decl_base *d);
267 get_generic_anonymous_internal_type_name(const decl_base *d);
270 update_qualified_name(decl_base * d);
3249 operator()(const decl_base *f, in operator ()()
3250 const decl_base *s) in operator ()()
3381 decl_base *fd = is_decl(f); in operator ()()
3382 decl_base *sd = is_decl(s); in operator ()()
4010 else if (decl_base *d = dynamic_cast<decl_base*>(this)) in runtime_type_instance()
4230 const decl_base* dl = dynamic_cast<const decl_base*>(l), in operator ==()
4231 *dr = dynamic_cast<const decl_base*>(r); in operator ==()
4285 struct decl_base::priv
4313 decl_base* naked_definition_of_declaration_;
4358 decl_base::decl_base(const environment* e, in decl_base() function in abigail::ir::decl_base
4382 decl_base::decl_base(const environment* e, in decl_base() function in abigail::ir::decl_base
4400 decl_base::decl_base(const environment* e, const location& l) in decl_base() function in abigail::ir::decl_base
4407 decl_base::decl_base(const decl_base& d) in decl_base() function in abigail::ir::decl_base
4427 decl_base::peek_qualified_name() const in peek_qualified_name()
4436 decl_base::clear_qualified_name() in clear_qualified_name()
4443 decl_base::set_qualified_name(const interned_string& n) const in set_qualified_name()
4456 decl_base::peek_temporary_qualified_name() const in peek_temporary_qualified_name()
4470 decl_base::set_temporary_qualified_name(const interned_string& n) const in set_temporary_qualified_name()
4477 decl_base::get_context_rel() const in get_context_rel()
4484 decl_base::get_context_rel() in get_context_rel()
4488 decl_base::set_context_rel(context_rel *c) in set_context_rel()
4496 decl_base::get_hash() const in get_hash()
4519 decl_base::get_is_in_public_symbol_table() const in get_is_in_public_symbol_table()
4527 decl_base::set_is_in_public_symbol_table(bool f) in set_is_in_public_symbol_table()
4547 decl_base::get_location() const in get_location()
4585 decl_base::set_location(const location& l) in set_location()
4597 decl_base::set_name(const string& n) in set_name()
4610 decl_base::get_is_anonymous() const in get_is_anonymous()
4620 decl_base::set_is_anonymous(bool f) in set_is_anonymous()
4632 decl_base::get_has_anonymous_parent() const in get_has_anonymous_parent()
4643 decl_base::get_is_anonymous_or_has_anonymous_parent() const in get_is_anonymous_or_has_anonymous_parent()
4657 decl_base::get_naming_typedef() const in get_naming_typedef()
4675 decl_base::set_naming_typedef(const typedef_decl_sptr& t) in set_naming_typedef()
4701 decl_base::get_linkage_name() const in get_linkage_name()
4708 decl_base::set_linkage_name(const string& m) in set_linkage_name()
4718 decl_base::visibility
4719 decl_base::get_visibility() const in get_visibility()
4726 decl_base::set_visibility(visibility v) in set_visibility()
4734 decl_base::get_scope() const in get_scope()
4746 decl_base::get_qualified_parent_name() const in get_qualified_parent_name()
4753 decl_base::get_name() const in get_name()
4765 decl_base::get_qualified_name(interned_string& qn, bool internal) const in get_qualified_name()
4788 decl_base::get_pretty_representation(bool internal, in get_pretty_representation()
4831 decl_base::get_qualified_name(bool /*internal*/) const in get_qualified_name()
4845 decl_base::get_scoped_name() const in get_scoped_name()
4853 decl_base::get_earlier_declaration() const in get_earlier_declaration()
4861 decl_base::set_earlier_declaration(const decl_base_sptr& d) in set_earlier_declaration()
4873 decl_base::get_definition_of_declaration() const in get_definition_of_declaration()
4888 const decl_base*
4889 decl_base::get_naked_definition_of_declaration() const in get_naked_definition_of_declaration()
4896 decl_base::get_is_declaration_only() const in get_is_declaration_only()
4905 decl_base::set_is_declaration_only(bool f) in set_is_declaration_only()
4969 maybe_compare_as_member_decls(const decl_base& l, in maybe_compare_as_member_decls()
4970 const decl_base& r, in maybe_compare_as_member_decls()
5029 get_decl_name_for_comparison(const decl_base &d) in get_decl_name_for_comparison()
5068 equals(const decl_base& l, const decl_base& r, change_kind* k) in equals()
5151 decl_base::operator==(const decl_base& other) const in operator ==()
5162 decl_base::operator!=(const decl_base& other) const in operator !=()
5166 decl_base::~decl_base() in ~decl_base()
5178 decl_base::traverse(ir_node_visitor&) in traverse()
5189 decl_base::set_scope(scope_decl* scope) in set_scope()
5207 operator<<(std::ostream& o, decl_base::visibility v) in operator <<()
5212 case decl_base::VISIBILITY_NONE: in operator <<()
5215 case decl_base::VISIBILITY_DEFAULT: in operator <<()
5218 case decl_base::VISIBILITY_PROTECTED: in operator <<()
5221 case decl_base::VISIBILITY_HIDDEN: in operator <<()
5224 case decl_base::VISIBILITY_INTERNAL: in operator <<()
5239 operator<<(std::ostream& o, decl_base::binding b) in operator <<()
5244 case decl_base::BINDING_NONE: in operator <<()
5247 case decl_base::BINDING_LOCAL: in operator <<()
5250 case decl_base::BINDING_GLOBAL: in operator <<()
5253 case decl_base::BINDING_WEAK: in operator <<()
5341 has_scope(const decl_base& d) in has_scope()
5368 is_member_decl(const decl_base* d) in is_member_decl()
5377 is_member_decl(const decl_base& d) in is_member_decl()
5387 is_scope_decl(decl_base* d) in is_scope_decl()
5427 decl_base *d = is_decl(t); in is_user_defined_type()
5457 get_member_access_specifier(const decl_base& d) in get_member_access_specifier()
5486 set_member_access_specifier(decl_base& d, in set_member_access_specifier()
5517 get_member_is_static(const decl_base&d) in get_member_is_static()
5535 get_member_is_static(const decl_base* d) in get_member_is_static()
5632 is_data_member(const decl_base *d) in is_data_member()
5718 is_anonymous_data_member(const decl_base& d) in is_anonymous_data_member()
5745 is_anonymous_data_member(const decl_base* d) in is_anonymous_data_member()
5905 scope_anonymous_or_typedef_named(const decl_base& d) in scope_anonymous_or_typedef_named()
5919 is_anonymous_or_typedef_named(const decl_base& d) in is_anonymous_or_typedef_named()
7266 update_qualified_name(decl_base * d) in update_qualified_name()
7322 decl_base(env, name, locus, /*mangled_name=*/name, vis), in scope_decl()
7335 decl_base(env, "", l), in scope_decl()
7645 if (!l.decl_base::operator==(r)) in equals()
7690 scope_decl::operator==(const decl_base& o) const in operator ==()
7736 scope_decl::find_iterator_for_member(const decl_base* decl, in find_iterator_for_member()
7892 decl_base(tu->get_environment(), "", location()), in global_scope()
7906 get_global_scope(const decl_base& decl) in get_global_scope()
7925 get_global_scope(const decl_base* decl) in get_global_scope()
7935 get_global_scope(const shared_ptr<decl_base> decl) in get_global_scope()
7950 get_top_most_scope_under(const decl_base* decl, in get_top_most_scope_under()
8057 else if (decl_base *d = dynamic_cast<decl_base*>(a)) in get_name()
8168 decl_base* d = get_type_declaration(t); in get_type_scope()
8209 has_generic_anonymous_internal_type_name(const decl_base *d) in has_generic_anonymous_internal_type_name()
8225 get_generic_anonymous_internal_type_name(const decl_base *d) in get_generic_anonymous_internal_type_name()
8264 const decl_base* d = dynamic_cast<const decl_base*>(t); in get_type_name()
8588 else if (decl_base* d = is_decl(const_cast<type_or_decl_base*>(tod))) in get_pretty_representation()
8624 get_pretty_representation(const decl_base* d, bool internal) in get_pretty_representation()
8649 const decl_base* d = get_type_declaration(t); in get_pretty_representation()
9082 get_natural_or_artificial_location(const decl_base* decl) in get_natural_or_artificial_location()
9101 get_artificial_or_natural_location(const decl_base* decl) in get_artificial_or_natural_location()
9154 decl_base*
9155 debug(const decl_base* artifact) in debug()
9158 return const_cast<decl_base*>(artifact); in debug()
9209 const decl_base*
9211 {return dynamic_cast<const decl_base*>(t);} in get_type_declaration()
9218 decl_base*
9220 {return dynamic_cast<decl_base*>(t);} in get_type_declaration()
9229 {return dynamic_pointer_cast<decl_base>(t);} in get_type_declaration()
9293 get_translation_unit(const decl_base& decl) in get_translation_unit()
9303 get_translation_unit(const decl_base* decl) in get_translation_unit()
9313 get_translation_unit(const shared_ptr<decl_base> decl) in get_translation_unit()
9350 is_at_global_scope(const decl_base& decl) in is_at_global_scope()
9368 is_at_global_scope(const decl_base* decl) in is_at_global_scope()
9386 is_at_class_scope(const decl_base* decl) in is_at_class_scope()
9400 is_at_class_scope(const decl_base& decl) in is_at_class_scope()
9442 is_at_template_scope(const shared_ptr<decl_base> decl) in is_at_template_scope()
9451 is_template_parameter(const shared_ptr<decl_base> decl) in is_template_parameter()
9516 decl_base*
9527 return reinterpret_cast<decl_base*> in is_decl()
9534 return dynamic_cast<decl_base*>(const_cast<type_or_decl_base*>(d)); in is_decl()
9547 {return dynamic_pointer_cast<decl_base>(d);} in is_decl()
9556 decl_base*
9558 {return dynamic_cast<decl_base*>(const_cast<type_or_decl_base*>(t));} in is_decl_slow()
9569 {return dynamic_pointer_cast<decl_base>(t);} in is_decl_slow()
9630 const decl_base* d = get_type_declaration(t); in is_anonymous_type()
10108 decl_base*
10109 look_through_decl_only(decl_base* d) in look_through_decl_only()
10172 is_namespace(const decl_base* d) in is_namespace()
10173 {return dynamic_cast<namespace_decl*>(const_cast<decl_base*>(d));} in is_namespace()
10181 is_template_parm_composition_type(const shared_ptr<decl_base> decl) in is_template_parm_composition_type()
10195 is_function_template_pattern(const shared_ptr<decl_base> decl) in is_function_template_pattern()
10309 is_template_decl(const shared_ptr<decl_base> decl) in is_template_decl()
13545 l = dynamic_cast<const decl_base&>(t1).get_location(); in types_defined_same_linux_kernel_corpus_public()
13553 l = dynamic_cast<const decl_base&>(t2).get_location(); in types_defined_same_linux_kernel_corpus_public()
13996 decl_base::set_definition_of_declaration(const decl_base_sptr& d) in set_definition_of_declaration()
14004 priv_->naked_definition_of_declaration_ = const_cast<decl_base*>(d.get()); in set_definition_of_declaration()
14518 decl_base(env, name, locus, linkage_name, vis), in type_decl()
14564 bool result = equals(static_cast<const decl_base&>(l), in equals()
14565 static_cast<const decl_base&>(r), in equals()
14586 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
14598 type_decl::operator==(const decl_base& o) const in operator ==()
14616 const decl_base& other = o; in operator ==()
14732 decl_base(env, name, locus, "", vis), in scope_type_decl()
14780 scope_type_decl::operator==(const decl_base& o) const in operator ==()
14798 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
14873 decl_base(env, name, locus, "", vis), in namespace_decl()
14911 namespace_decl::operator==(const decl_base& o) const in operator ==()
15070 decl_base(type->get_environment(), "", locus, "", in qualified_type_def()
15071 dynamic_pointer_cast<decl_base>(type)->get_visibility()), in qualified_type_def()
15095 decl_base(env, "", locus, ""), in qualified_type_def()
15191 qualified_type_def::operator==(const decl_base& o) const in operator ==()
15212 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
15230 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
15534 decl_base(pointed_to->get_environment(), "", locus, ""), in pointer_type_def()
15542 decl_base_sptr pto = dynamic_pointer_cast<decl_base>(pointed_to); in pointer_type_def()
15569 decl_base(env, "", locus, ""), in pointer_type_def()
15591 decl_base_sptr pto = dynamic_pointer_cast<decl_base>(t); in set_pointed_to_type()
15643 pointer_type_def::operator==(const decl_base& o) const in operator ==()
15662 const decl_base* o = is_decl(&other); in operator ==()
15679 const decl_base& o = other; in operator ==()
15758 if (decl_base::peek_qualified_name().empty()) in get_qualified_name()
15763 return decl_base::peek_qualified_name(); in get_qualified_name()
15776 return decl_base::peek_qualified_name(); in get_qualified_name()
15887 decl_base(pointed_to->get_environment(), "", locus, ""), in reference_type_def()
15894 decl_base_sptr pto = dynamic_pointer_cast<decl_base>(pointed_to); in reference_type_def()
15943 decl_base(env, "", locus, ""), in reference_type_def()
15966 {pto = dynamic_pointer_cast<decl_base>(pointed_to_type);} in set_pointed_to_type()
16030 reference_type_def::operator==(const decl_base& o) const in operator ==()
16048 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
16063 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
16334 decl_base(env, name, loc, ""), in subrange_type()
16364 decl_base(env, name, loc, ""), in subrange_type()
16389 decl_base(env, name, loc, ""), in subrange_type()
16586 array_type_def::subrange_type::operator==(const decl_base& o) const in operator ==()
16604 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
16731 decl_base(e_type->get_environment(), locus), in array_type_def()
16763 decl_base(env, locus), in array_type_def()
16989 array_type_def::operator==(const decl_base& o) const in operator ==()
17001 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
17117 if (decl_base::peek_qualified_name().empty()) in get_qualified_name()
17120 return decl_base::peek_qualified_name(); in get_qualified_name()
17127 return decl_base::peek_temporary_qualified_name(); in get_qualified_name()
17163 {return decl_base::get_location();} in get_location()
17220 decl_base(underlying_type->get_environment(), in enum_type_decl()
17272 r += decl_base::get_pretty_representation(internal, in get_pretty_representation()
17366 if (!(l.decl_base::operator==(r) && l.type_base::operator==(r))) in enum_has_non_name_change()
17371 if (!l.decl_base::operator==(r)) in enum_has_non_name_change()
17517 if (!(l.decl_base::operator==(r) && l.type_base::operator==(r))) in equals()
17522 if (!l.decl_base::operator==(r)) in equals()
17595 enum_type_decl::operator==(const decl_base& o) const in operator ==()
17612 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
17866 decl_base(underlying_type->get_environment(), in typedef_decl()
17895 decl_base(env, name, locus, mangled_name, vis), in typedef_decl()
17958 if (!equals(static_cast<const decl_base&>(l), in equals()
17959 static_cast<const decl_base&>(r), in equals()
17987 typedef_decl::operator==(const decl_base& o) const in operator ==()
18004 const decl_base* other = dynamic_cast<const decl_base*>(&o); in operator ==()
18098 decl_base::binding binding_;
18104 binding_(decl_base::BINDING_GLOBAL) in priv()
18108 decl_base::binding b) in priv()
18136 decl_base(type->get_environment(), name, locus, linkage_name, vis), in var_decl()
18163 decl_base::binding
18171 var_decl::set_binding(decl_base::binding b) in set_binding()
18319 bool decl_bases_different = !l.decl_base::operator==(r); in equals()
18333 if (!l.decl_base::operator==(r)) in equals()
18366 var_decl::operator==(const decl_base& o) const in operator ==()
18444 && decl_base::get_qualified_name().empty()) in get_qualified_name()
18451 return decl_base::get_qualified_name(internal); in get_qualified_name()
18944 decl_base* l_return_type_decl = in equals()
18946 decl_base* r_return_type_decl = in equals()
19396 decl_base::binding binding_;
19404 binding_(decl_base::BINDING_GLOBAL), in priv()
19410 decl_base::binding binding) in priv()
19419 decl_base::binding binding, in priv()
19453 decl_base(function_type->get_environment(), name, locus, mangled_name, vis), in function_decl()
19491 decl_base(fn_type->get_environment(), name, locus, linkage_name, vis), in function_decl()
19700 decl_base::binding
19855 bool decl_bases_different = !l.decl_base::operator==(r); in equals()
19872 if (!l.decl_base::operator==(r)) in equals()
19935 function_decl::operator==(const decl_base& other) const in operator ==()
20114 decl_base(type->get_environment(), name, loc), in parameter()
20128 decl_base(type->get_environment(), name, loc), in parameter()
20142 decl_base(type->get_environment(), name, loc), in parameter()
20154 decl_base(type->get_environment(), "", location()), in parameter()
20298 function_decl::parameter::operator==(const decl_base& o) const in operator ==()
20463 decl_base(env, name, locus, name, vis), in class_or_union()
20483 if (!has_scope(static_pointer_cast<decl_base>(*i))) in class_or_union()
20510 decl_base(env, name, locus, name, vis), in class_or_union()
20531 decl_base(env, name, location(), name), in class_or_union()
21180 decl_base* c = m->as_function_tdecl()->get_scope(); in add_member_function_template()
21194 decl_base* c = m->as_class_tdecl()->get_scope(); in add_member_class_template()
21259 class_or_union::operator==(const decl_base& other) const in operator ==()
21291 const decl_base* o = dynamic_cast<const decl_base*>(&other); in operator ==()
21305 const decl_base& o = other; in operator ==()
21400 if (!(l.decl_base::operator==(r) in equals()
21425 if (!(l.decl_base::operator==(r) && l.type_base::operator==(r))) in equals()
21799 decl_base(env, name, locus, name, vis), in class_decl()
21849 decl_base(env, name, locus, in class_decl()
21893 decl_base(env, name, locus, name, vis), in class_decl()
21930 decl_base(env, name, locus, in class_decl()
21966 decl_base(env, name, location(), name), in class_decl()
22175 decl_base(base->get_environment(), base->get_name(), base->get_location(), in base_spec()
22266 decl_base(base->get_environment(), get_type_declaration(base)->get_name(), in base_spec()
22322 class_decl::base_spec::operator==(const decl_base& other) const in operator ==()
22348 return operator==(static_cast<const decl_base&>(*o)); in operator ==()
22382 decl_base(type->get_environment(), name, locus, linkage_name, vis), in method_decl()
22419 decl_base(type->get_environment(), name, locus, linkage_name, vis), in method_decl()
22456 decl_base(type->get_environment(), name, locus, linkage_name, vis), in method_decl()
22471 decl_base::set_linkage_name(l); in set_linkage_name()
23130 class_decl::operator==(const decl_base& other) const in operator ==()
23168 const decl_base* o = is_decl(&other); in operator ==()
23183 const decl_base& o = other; in operator ==()
23380 return *l == static_cast<const decl_base&>(*r); in operator ==()
23537 const decl_base* o = dynamic_cast<const decl_base*>(&other); in operator ==()
23638 set_member_is_static(decl_base& d, bool s) in set_member_is_static()
23744 decl_base(env, name, locus, name, vis), in union_decl()
23781 decl_base(env, name, locus, in union_decl()
23819 decl_base(env, name, locus, name, vis), in union_decl()
23850 decl_base(env, name, locus, in union_decl()
23885 decl_base(env, name, location(), name), in union_decl()
23943 union_decl::operator==(const decl_base& other) const in operator ==()
23961 const decl_base *o = dynamic_cast<const decl_base*>(&other); in operator ==()
23976 const decl_base& o = other; in operator ==()
24199 decl_base(env, name, locus, /*mangled_name=*/"", vis), in template_decl()
24355 decl_base(enclosing_tdecl->get_environment(), name, locus), in type_tparameter()
24433 decl_base(type->get_environment(), name, locus, ""), in non_type_tparameter()
24458 non_type_tparameter::operator==(const decl_base& other) const in operator ==()
24460 if (!decl_base::operator==(other)) in operator ==()
24479 const decl_base& o = dynamic_cast<const decl_base&>(other); in operator ==()
24514 decl_base(enclosing_tdecl->get_environment(), name, locus), in template_tparameter()
24602 decl_base(tdecl->get_environment(), "", location()), in type_composition()
24682 decl_base(env, "", locus, "", vis), in function_tdecl()
24710 decl_base(pattern->get_environment(), pattern->get_name(), locus, in function_tdecl()
24740 decl_base::binding
24750 function_tdecl::operator==(const decl_base& other) const in operator ==()
24855 decl_base(env, "", locus, "", vis), in class_tdecl()
24880 decl_base(pattern->get_environment(), pattern->get_name(), in class_tdecl()
24908 class_tdecl::operator==(const decl_base& other) const in operator ==()
24922 return get_pattern()->decl_base::operator==(*o.get_pattern()); in operator ==()
24934 return *this == static_cast<const decl_base&>(o); in operator ==()
24942 {return *this == static_cast<const decl_base&>(o);} in operator ==()
25126 else if (const decl_base* d = is_decl(tod)) in hash_type_or_decl()
25244 if (decl_base * decl = is_decl(type)) in get_exemplar_type()
25299 decl_base *decl = is_decl(t); in hash_as_canonical_type_or_constant()
25653 get_function_parameter(const decl_base* fun, in get_function_parameter()
25770 ir_node_visitor::visit_begin(decl_base*) in visit_begin() argument
25774 ir_node_visitor::visit_end(decl_base*) in visit_end() argument
25811 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25815 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
25883 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25887 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
25891 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25895 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
25899 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25903 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
25907 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25911 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
25915 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25919 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
25947 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25951 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
25955 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25959 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
25963 {return visit_begin(static_cast<decl_base*>(d));} in visit_begin()
25967 {return visit_end(static_cast<decl_base*>(d));} in visit_end()
26129 qualified_name_setter::do_update(abigail::ir::decl_base* d) in do_update()
26174 qualified_name_setter::visit_begin(abigail::ir::decl_base* d) in visit_begin()
26186 if (abigail::ir::decl_base* d = get_type_declaration(t)) in visit_begin()