Lines Matching refs:Module
1109 /// \brief Find the module in which the given declaration was defined.
1110 static Module *getDefiningModule(Decl *Entity) {
1112 // If this function was instantiated from a template, the defining module is
1113 // the module containing the pattern.
1149 llvm::DenseSet<Module*> &Sema::getLookupModules() {
1153 Module *M = getDefiningModule(ActiveTemplateInstantiations[I].Entity);
1166 /// visible from a module containing any entity on the template instantiation
1168 /// your module can see, including those later on in your module).
1172 Module *DeclModule = D->getOwningModule();
1173 assert(DeclModule && "hidden decl not from a module");
1176 llvm::DenseSet<Module*> &LookupModules = SemaRef.getLookupModules();
1180 // If our lookup set contains the decl's module, it's visible.
1184 // If the declaration isn't exported, it's not visible in any other module.
1190 for (llvm::DenseSet<Module *>::iterator I = LookupModules.begin(),
1201 /// module, with the current imports. If not, it checks whether any