MCPcopy Create free account
hub / github.com/Samsung/UTopia / ~SourceCollection

Method ~SourceCollection

lib/sourceloader/SourceCollection.cpp:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5using namespace ftg;
6
7SourceCollection::~SourceCollection() {
8 ASTUnits.clear();
9 // LLVMModule should be deleted before LLVMContext.
10 LLVMModule.reset();
11 LLVMContext.reset();
12}
13
14const std::vector<clang::ASTUnit *> SourceCollection::getASTUnits() const {
15 std::vector<clang::ASTUnit *> RefASTUnits;

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected