[LLVMdev] graph abstraction proposal

Jochen Wilhelmy j.wilhelmy at arcor.de
Thu Apr 8 05:26:57 PDT 2010

> or just add these methods to  GraphTraits?
in an actual implementation one would add them to GraphTraits,
but I would also suggest renaming e.g. GraphTraits<BasicBlock> to
BaicBlockGraph since traits are used to get properies of types
while I suggest a compile time abstraction (which is a class
that contains all data or has a reference to it, just like a runtime
abstraction where the methods would be virtual).

what do you think of this suggestion?


More information about the llvm-dev mailing list