StructTypes in module

Quick question: how do I get a list of StructType* defined/used in a Module? I can’t seem to find an appropriate iterator in the Module class…

Module::findUsedStructTypes. Note that this requires scanning the entire module, it is not an efficient operation.

-Chris

Nella citazione mercoledì 31 agosto 2011 20:35:46, Chris Lattner ha scritto:

Nope, sorry.

-Chris