Traits for traversing a graph type without copying it.
Declared in <llvm/ADT/GraphTraits.h>
template<class GraphType>
struct GraphTraits;
Specialize for each graph (CFG, DomTree, …). The primary template is empty except for a deliberate incomplete NodeRef that fails compilation when no specialization is visible. May reinterpret the graph via richer NodeRef values (see LoopBodyTraits).
| Name | Description |
|---|---|
NodeRef | Placeholder that fails compilation unless GraphTraits is specialized. |
| Name | Description |
|---|---|
GraphTraits<Inverse<Inverse<T>>> |