| 12 | } |
| 13 | |
| 14 | const std::vector<clang::ASTUnit *> SourceCollection::getASTUnits() const { |
| 15 | std::vector<clang::ASTUnit *> RefASTUnits; |
| 16 | for (auto &Unit : ASTUnits) { |
| 17 | RefASTUnits.push_back(Unit.get()); |
| 18 | } |
| 19 | return RefASTUnits; |
| 20 | } |
| 21 | const llvm::Module &SourceCollection::getLLVMModule() const { |
| 22 | return *LLVMModule; |
| 23 | } |