Home
last modified time | relevance | path

Searched refs:ActiveModule (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/Lex/
DModuleMap.cpp1440 Module *ActiveModule = nullptr; member in clang::ModuleMapParser
1756 auto D = Diags.Report(ActiveModule->DefinitionLoc, in diagnosePrivateModules()
1764 if (M->Directory != ActiveModule->Directory) in diagnosePrivateModules()
1767 SmallString<128> FullName(ActiveModule->getFullModuleName()); in diagnosePrivateModules()
1775 if (ActiveModule->Parent && ActiveModule->Name == "Private" && !M->Parent && in diagnosePrivateModules()
1776 M->Name == ActiveModule->Parent->Name) { in diagnosePrivateModules()
1777 Diags.Report(ActiveModule->DefinitionLoc, in diagnosePrivateModules()
1787 if (FrameworkLoc.isValid() || ActiveModule->Parent->IsFramework) in diagnosePrivateModules()
1793 SourceRange(FixItInitBegin, ActiveModule->DefinitionLoc)); in diagnosePrivateModules()
1798 if (!ActiveModule->Parent && !M->Parent && M->Name != ActiveModule->Name && in diagnosePrivateModules()
[all …]
/external/clang/lib/Lex/
DModuleMap.cpp1042 Module *ActiveModule; member in clang::ModuleMapParser
1091 HadError(false), ActiveModule(nullptr) in ModuleMapParser()
1358 if (ActiveModule) { in parseModuleDecl()
1374 Module *PreviousActiveModule = ActiveModule; in parseModuleDecl()
1378 ActiveModule = nullptr; in parseModuleDecl()
1381 if (Module *Next = Map.lookupModuleQualified(Id[I].first, ActiveModule)) { in parseModuleDecl()
1384 ActiveModule = Next; in parseModuleDecl()
1388 if (ActiveModule) { in parseModuleDecl()
1391 << ActiveModule->getTopLevelModule()->getFullModuleName(); in parseModuleDecl()
1426 if (Module *Existing = Map.lookupModuleQualified(ModuleName, ActiveModule)) { in parseModuleDecl()
[all …]