Home
last modified time | relevance | path

Searched refs:ImportedBy (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/lib/Serialization/
DModuleManager.cpp89 static void updateModuleImports(ModuleFile &MF, ModuleFile *ImportedBy, in updateModuleImports() argument
91 if (ImportedBy) { in updateModuleImports()
92 MF.ImportedBy.insert(ImportedBy); in updateModuleImports()
93 ImportedBy->Imports.insert(&MF); in updateModuleImports()
104 SourceLocation ImportLoc, ModuleFile *ImportedBy, in addModule() argument
164 updateModuleImports(*ModuleEntry, ImportedBy, ImportLoc); in addModule()
241 updateModuleImports(*NewModule, ImportedBy, ImportLoc); in addModule()
245 if (!ImportedBy) in addModule()
271 I->ImportedBy.remove_if(IsVictim); in removeModules()
373 unsigned Size = M.ImportedBy.size(); in visit()
DASTReader.cpp549 while (!TopImport->ImportedBy.empty()) in getTopImportImplicitModule()
550 TopImport = TopImport->ImportedBy[0]; in getTopImportImplicitModule()
1609 if (F->ImportedBy.empty() || !F->ImportedBy[0]) { in getImportLocation()
1614 return F->ImportedBy[0]->FirstLoc; in getImportLocation()
2394 while (!ImportStack.back()->ImportedBy.empty()) in getInputFile()
2395 ImportStack.push_back(ImportStack.back()->ImportedBy[0]); in getInputFile()
2550 const ModuleFile *ImportedBy, in ReadControlBlock() argument
2570 readUnhashedControlBlock(F, ImportedBy, ClientLoadCapabilities)) in ReadControlBlock()
2664 if (Listener && !ImportedBy) { in ReadControlBlock()
2847 << F.ModuleName << F.FileName << (ImportedBy ? true : false) in ReadControlBlock()
[all …]
/external/clang/lib/Serialization/
DModuleManager.cpp58 SourceLocation ImportLoc, ModuleFile *ImportedBy, in addModule() argument
100 if (!ImportedBy) in addModule()
169 assert(ImportedBy); in addModule()
176 if (ImportedBy) { in addModule()
177 ModuleEntry->ImportedBy.insert(ImportedBy); in addModule()
178 ImportedBy->Imports.insert(ModuleEntry); in addModule()
208 Chain[i]->ImportedBy.remove_if(IsVictim); in removeModules()
324 unsigned Size = M->ImportedBy.size(); in visit()
DASTReader.cpp441 while (!TopImport->ImportedBy.empty()) in ReadDiagnosticOptions()
442 TopImport = TopImport->ImportedBy[0]; in ReadDiagnosticOptions()
1369 if (F->ImportedBy.empty() || !F->ImportedBy[0]) { in getImportLocation()
1374 return F->ImportedBy[0]->FirstLoc; in getImportLocation()
2019 while (ImportStack.back()->ImportedBy.size() > 0) in getInputFile()
2020 ImportStack.push_back(ImportStack.back()->ImportedBy[0]); in getInputFile()
2167 const ModuleFile *ImportedBy, in ReadControlBlock() argument
2250 if (Listener && !ImportedBy) { in ReadControlBlock()
2435 ReadModuleMapFileBlock(Record, F, ImportedBy, ClientLoadCapabilities)) in ReadControlBlock()
3219 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock() argument
[all …]
/external/llvm-project/clang/include/clang/Serialization/
DASTReader.h1279 ModuleFile *ImportedBy; member
1283 ModuleFile *ImportedBy, in ImportedModule()
1285 : Mod(Mod), ImportedBy(ImportedBy), ImportLoc(ImportLoc) {} in ImportedModule()
1289 SourceLocation ImportLoc, ModuleFile *ImportedBy,
1296 const ModuleFile *ImportedBy,
1325 const ModuleFile *ImportedBy,
DModuleManager.h250 ModuleFile *ImportedBy, unsigned Generation,
DModuleFile.h490 llvm::SetVector<ModuleFile *> ImportedBy; variable
/external/clang/include/clang/Serialization/
DASTReader.h1115 ModuleFile *ImportedBy; member
1119 ModuleFile *ImportedBy, in ImportedModule()
1121 : Mod(Mod), ImportedBy(ImportedBy), ImportLoc(ImportLoc) { } in ImportedModule()
1125 SourceLocation ImportLoc, ModuleFile *ImportedBy,
1132 const ModuleFile *ImportedBy,
1145 const ModuleFile *ImportedBy,
DModuleManager.h216 ModuleFile *ImportedBy, unsigned Generation,
DModule.h439 llvm::SetVector<ModuleFile *> ImportedBy; variable