Home
last modified time | relevance | path

Searched refs:WritingModule (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/include/clang/Serialization/
DASTWriter.h140 Module *WritingModule = nullptr; variable
484 void WriteSubmodules(Module *WritingModule);
547 Module *WritingModule);
580 Module *WritingModule, StringRef isysroot,
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp1062 if (WritingModule && in writeUnhashedControlBlock()
1097 WritePragmaDiagnosticMappings(Diags, /* isModule = */ WritingModule); in writeUnhashedControlBlock()
1125 assert((!WritingModule || isysroot.empty()) && in WriteControlBlock()
1141 if (WritingModule) { in WriteControlBlock()
1148 Stream.EmitRecordWithBlob(AbbrevCode, Record, WritingModule->Name); in WriteControlBlock()
1151 if (WritingModule && WritingModule->Directory) { in WriteControlBlock()
1152 SmallString<128> BaseDir(WritingModule->Directory->getName()); in WriteControlBlock()
1161 WritingModule->Directory->getName() != StringRef(".")) { in WriteControlBlock()
1180 if (WritingModule && WritingModule->Kind == Module::ModuleMapModule) { in WriteControlBlock()
1184 AddPath(WritingModule->PresumedModuleMapFile.empty() in WriteControlBlock()
[all …]
DASTWriterDecl.cpp1020 if (Writer.WritingModule && in VisitVarDecl()
1028 (Writer.WritingModule->Kind == Module::ModuleInterfaceUnit || in VisitVarDecl()
2373 bool WritingModule) { in isRequiredDecl() argument
2382 if (WritingModule && isPartOfPerModuleInitializer(D)) { in isRequiredDecl()
2435 if (isRequiredDecl(D, Context, WritingModule)) in WriteDecl()
2447 if (Writer->WritingModule && in AddFunctionDefinition()
2448 Writer->WritingModule->Kind == Module::ModuleInterfaceUnit) { in AddFunctionDefinition()
/external/clang/lib/Serialization/
DASTWriter.cpp1245 assert((!WritingModule || isysroot.empty()) && in WriteControlBlock()
1255 if (WritingModule) { in WriteControlBlock()
1272 Stream.EmitRecordWithBlob(AbbrevCode, Record, WritingModule->Name); in WriteControlBlock()
1275 if (WritingModule && WritingModule->Directory) { in WriteControlBlock()
1276 SmallString<128> BaseDir(WritingModule->Directory->getName()); in WriteControlBlock()
1285 WritingModule->Directory->getName() != StringRef(".")) { in WriteControlBlock()
1304 if (WritingModule) { in WriteControlBlock()
1310 AddPath(Map.getModuleMapFileForUniquing(WritingModule)->getName(), Record); in WriteControlBlock()
1314 Map.getAdditionalModuleMapFiles(WritingModule)) { in WriteControlBlock()
2421 if (Mod->getTopLevelModule() != WritingModule) in getLocalOrImportedSubmoduleID()
[all …]
DASTWriterDecl.cpp2114 bool WritingModule) { in isRequiredDecl() argument
2127 if (isa<ImportDecl>(D) && !WritingModule) in isRequiredDecl()
2174 if (isRequiredDecl(D, Context, WritingModule)) in WriteDecl()
/external/clang/include/clang/Serialization/
DASTWriter.h122 Module *WritingModule; variable
436 void WriteSubmodules(Module *WritingModule);
494 Module *WritingModule);
526 Module *WritingModule, StringRef isysroot,