Lines Matching defs:ModuleMap
1 //===--- ModuleMap.cpp - Describe the layout of modules ---------*- C++ -*-===//
10 // This file defines the ModuleMap implementation, which describes the layout
14 #include "clang/Lex/ModuleMap.h"
39 ModuleMap::resolveExport(Module *Mod,
56 Module *ModuleMap::resolveModuleId(const ModuleId &Id, Module *Mod,
86 ModuleMap::ModuleMap(FileManager &FileMgr, DiagnosticConsumer &DC,
100 ModuleMap::~ModuleMap() {
110 void ModuleMap::setTarget(const TargetInfo &Target) {
171 ModuleMap::KnownHeader ModuleMap::findModuleForHeader(const FileEntry *File) {
289 bool ModuleMap::isHeaderInUnavailableModule(const FileEntry *Header) const {
355 Module *ModuleMap::findModule(StringRef Name) const {
363 Module *ModuleMap::lookupModuleUnqualified(StringRef Name,
373 Module *ModuleMap::lookupModuleQualified(StringRef Name, Module *Context) const{
381 ModuleMap::findOrCreateModule(StringRef Name, Module *Parent, bool IsFramework,
400 bool ModuleMap::canInferFrameworkModule(const DirectoryEntry *ParentDir,
442 ModuleMap::inferFrameworkModule(StringRef ModuleName,
594 void ModuleMap::setUmbrellaHeader(Module *Mod, const FileEntry *UmbrellaHeader){
600 void ModuleMap::setUmbrellaDir(Module *Mod, const DirectoryEntry *UmbrellaDir) {
605 void ModuleMap::addHeader(Module *Mod, const FileEntry *Header,
621 ModuleMap::getContainingModuleMapFile(Module *Module) const {
629 void ModuleMap::dump() {
644 bool ModuleMap::resolveExports(Module *Mod, bool Complain) {
658 bool ModuleMap::resolveConflicts(Module *Mod, bool Complain) {
677 Module *ModuleMap::inferModuleFromLocation(FullSourceLoc Loc) {
783 ModuleMap ⤅
834 ModuleMap &Map,
1416 if (ModuleMap::KnownHeader OwningModule = Map.Headers[File]) {
1432 ModuleMap::ModuleHeaderRole Role = ModuleMap::NormalHeader;
1434 Role = ModuleMap::ExcludedHeader;
1436 Role = ModuleMap::PrivateHeader;
1959 bool ModuleMap::parseModuleMapFile(const FileEntry *File, bool IsSystem) {