Inferno
0.2
|
Go to the source code of this file.
Classes | |
class | UniqueWalkNoBody_iterator |
class | UniqueWalkNoBodyOrIndirection_iterator |
Typedefs | |
typedef ContainerFromIterator < UniqueWalkNoBody_iterator, TreePtr< Node > > | UniqueWalkNoBody |
typedef ContainerFromIterator < UniqueWalkNoBodyOrIndirection_iterator, TreePtr< Node > > | UniqueWalkNoBodyOrIndirection |
Functions | |
bool | IsDependOn (TreePtr< Declaration > a, TreePtr< Declaration > b, bool ignore_indirection_to_record) |
Sequence< Declaration > | SortDecls (ContainerInterface &c, bool ignore_indirection_to_record) |
Sequence< Declaration > | JumbleDecls (Sequence< Declaration > c) |
Sequence< Declaration > | ReverseDecls (Sequence< Declaration > c) |
Definition at line 40 of file sort_decls.cpp.
typedef ContainerFromIterator< UniqueWalkNoBodyOrIndirection_iterator, TreePtr<Node> > UniqueWalkNoBodyOrIndirection |
Definition at line 70 of file sort_decls.cpp.
bool IsDependOn | ( | TreePtr< Declaration > | a, |
TreePtr< Declaration > | b, | ||
bool | ignore_indirection_to_record | ||
) |
Definition at line 73 of file sort_decls.cpp.
References ASSERT, OOStd::ContainerInterface< SUB_BASE, VALUE_INTERFACE >::begin(), OOStd::ContainerInterface< SUB_BASE, VALUE_INTERFACE >::end(), FOREACH, GetIdentifier(), IsDependOn(), and TRACE.
Referenced by IsDependOn(), and SortDecls().
Sequence<Declaration> JumbleDecls | ( | Sequence< Declaration > | c | ) |
Definition at line 188 of file sort_decls.cpp.
References ASSERT, OOStd::Sequence< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::begin(), OOStd::Sequence< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::end(), FOREACH, OOStd::Sequence< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::insert(), and OOStd::ContainerCommon< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::size().
Sequence<Declaration> ReverseDecls | ( | Sequence< Declaration > | c | ) |
Definition at line 218 of file sort_decls.cpp.
References ASSERT, OOStd::Sequence< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::begin(), FOREACH, OOStd::Sequence< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::insert(), and OOStd::ContainerCommon< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::size().
Sequence<Declaration> SortDecls | ( | ContainerInterface & | c, |
bool | ignore_indirection_to_record | ||
) |
Definition at line 134 of file sort_decls.cpp.
References ASSERT, OOStd::ContainerCommon< SUB_BASE, VALUE_INTERFACE, CONTAINER_IMPL >::empty(), OOStd::SimpleAssociativeContainer< SUB_BASE, VALUE_INTERFACE, CONTAINER_IMPL >::erase(), FOREACH, OOStd::SimpleAssociativeContainer< SUB_BASE, VALUE_INTERFACE, CONTAINER_IMPL >::insert(), IsDependOn(), OOStd::Sequence< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::push_back(), OOStd::ContainerInterface< SUB_BASE, VALUE_INTERFACE >::size(), OOStd::ContainerCommon< Itemiser::Element, TreePtrInterface, deque< TreePtr< VALUE_TYPE > > >::size(), and TRACE.