Home
last modified time | relevance | path

Searched refs:MainFile (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Frontend/
DCacheTokens.cpp244 void GeneratePTH(const std::string &MainFile);
482 void PTHWriter::GeneratePTH(const std::string &MainFile) { in GeneratePTH() argument
493 if (!MainFile.empty()) { in GeneratePTH()
494 EmitString(MainFile); in GeneratePTH()
576 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens() local
577 SmallString<128> MainFilePath(MainFile->getName()); in CacheTokens()
/external/clang/lib/CodeGen/
DCodeGenModule.h190 void addVisited(bool MainFile) { in addVisited() argument
191 if (MainFile) in addVisited()
196 void addMissing(bool MainFile) { in addMissing() argument
197 if (MainFile) in addMissing()
202 void addMismatched(bool MainFile) { ++Mismatched; } in addMismatched() argument
206 void reportDiagnostics(DiagnosticsEngine &Diags, StringRef MainFile);
DCGDeclCXX.cpp435 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in EmitCXXGlobalInitFunc() local
439 FileName = llvm::sys::path::filename(MainFile->getName()); in EmitCXXGlobalInitFunc()
DCodeGenAction.cpp748 llvm::MemoryBuffer *MainFile = SM.getBuffer(FID, &Invalid); in ExecuteAction() local
753 TheModule = parseIR(MainFile->getMemBufferRef(), Err, *VMContext); in ExecuteAction()
DCodeGenModule.cpp348 StringRef MainFile) { in reportDiagnostics() argument
352 if (MainFile.empty()) in reportDiagnostics()
353 MainFile = "<stdin>"; in reportDiagnostics()
354 Diags.Report(diag::warn_profile_data_unprofiled) << MainFile; in reportDiagnostics()
1348 if (const auto *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in isInSanitizerBlacklist() local
1349 return SanitizerBL.isBlacklistedFile(MainFile->getName()); in isInSanitizerBlacklist()
DCGDebugInfo.cpp368 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit() local
369 MainFileDir = remapDIPath(MainFile->getDir()->getName()); in CreateCompileUnit()
/external/clang/lib/Basic/
DSourceManager.cpp1626 const FileEntry *MainFile = MainContentCache->OrigEntry; in translateFile() local
1628 if (*SourceFileName == llvm::sys::path::filename(MainFile->getName())) { in translateFile()
1632 getActualFileUID(MainFile)) { in translateFile()
1635 SourceFile = MainFile; in translateFile()
/external/clang/lib/Serialization/
DASTWriter.cpp1439 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteControlBlock() local
1449 EmitRecordWithPath(FileAbbrevCode, Record, MainFile->getName()); in WriteControlBlock()