29 collection::const_reverse_iterator pos;
30 collection::const_reverse_iterator begin =
m_entries.rbegin();
31 collection::const_reverse_iterator end =
m_entries.rend();
32 for (pos = begin; pos != end; ++pos) {
35 if (pos->name ==
nullptr) {
36 if (pos->tag == DW_TAG_namespace)
38 else if (pos->tag == DW_TAG_class_type)
40 else if (pos->tag == DW_TAG_structure_type)
42 else if (pos->tag == DW_TAG_union_type)
61 collection::const_iterator pos;
62 collection::const_iterator begin =
m_entries.begin();
63 collection::const_iterator end =
m_entries.end();
65 collection::const_iterator rhs_pos;
66 collection::const_iterator rhs_begin = rhs.
m_entries.begin();
70 for (pos = begin, rhs_pos = rhs_begin; pos != end; ++pos, ++rhs_pos) {
71 if (pos->tag != rhs_pos->tag) {
74 if (pos->tag == DW_TAG_structure_type &&
75 rhs_pos->tag == DW_TAG_class_type)
77 if (pos->tag == DW_TAG_class_type &&
78 rhs_pos->tag == DW_TAG_structure_type)
84 for (pos = begin, rhs_pos = rhs_begin; pos != end; ++pos, ++rhs_pos) {
85 if (!pos->NameMatches(*rhs_pos))
const char * GetQualifiedName() const
bool operator==(const DWARFDeclContext &rhs) const
std::string m_qualified_name