| 575 | } |
| 576 | |
| 577 | std::vector<std::string> GraphModule::typeNames() const { |
| 578 | std::vector<std::string> ret; |
| 579 | ret.reserve(structs().size()); |
| 580 | |
| 581 | for (const auto& ty : structs()) { ret.push_back(ty->name()); } |
| 582 | |
| 583 | return ret; |
| 584 | } |
| 585 | |
| 586 | Result GraphModule::addForwardDeclarations(llvm::Module& module) const { |
| 587 | // create prototypes |