MCPcopy Create free account
hub / github.com/clice-io/clice / CreateASTConsumer

Method CreateASTConsumer

src/compile/compilation.cpp:220–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218 }
219
220 auto HandleTopLevelDecl(clang::DeclGroupRef group) -> bool final {
221 if(unit->kind == CompilationKind::Content) {
222 if(group.isDeclGroup()) {
223 for(auto decl: group) {
224 collect_decl(decl);
225 }
226 } else {
227 collect_decl(group.getSingleDecl());
228 }
229 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected