Add some context for GraphTraits.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/include/llvm/ADT/GraphTraits.h | ||
---|---|---|
28–30 ↗ | (On Diff #158427) | Typo: "facncier" Also, this could be a simpler sentence without "value judgments". Something like: // This template evolved from supporting `BasicBlock` to also later supporting // more complex types (e.g. CFG and DomTree). |
32–35 ↗ | (On Diff #158427) | I suggest simplifying as well, maybe like: // GraphTraits can be used to create a view over a graph interpreting it // differently without requiring a copy of the original graph. This could // be used for working with NodeRef's and loop bodies (see LoopBodyTraits // for one example). |