Searched refs:MainFile (Results 1 – 8 of 8) sorted by relevance
244 void GeneratePTH(const std::string &MainFile);482 void PTHWriter::GeneratePTH(const std::string &MainFile) { in GeneratePTH() argument493 if (!MainFile.empty()) { in GeneratePTH()494 EmitString(MainFile); in GeneratePTH()576 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens() local577 SmallString<128> MainFilePath(MainFile->getName()); in CacheTokens()
190 void addVisited(bool MainFile) { in addVisited() argument191 if (MainFile) in addVisited()196 void addMissing(bool MainFile) { in addMissing() argument197 if (MainFile) in addMissing()202 void addMismatched(bool MainFile) { ++Mismatched; } in addMismatched() argument206 void reportDiagnostics(DiagnosticsEngine &Diags, StringRef MainFile);
435 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in EmitCXXGlobalInitFunc() local439 FileName = llvm::sys::path::filename(MainFile->getName()); in EmitCXXGlobalInitFunc()
748 llvm::MemoryBuffer *MainFile = SM.getBuffer(FID, &Invalid); in ExecuteAction() local753 TheModule = parseIR(MainFile->getMemBufferRef(), Err, *VMContext); in ExecuteAction()
348 StringRef MainFile) { in reportDiagnostics() argument352 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() local1349 return SanitizerBL.isBlacklistedFile(MainFile->getName()); in isInSanitizerBlacklist()
368 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit() local369 MainFileDir = remapDIPath(MainFile->getDir()->getName()); in CreateCompileUnit()
1626 const FileEntry *MainFile = MainContentCache->OrigEntry; in translateFile() local1628 if (*SourceFileName == llvm::sys::path::filename(MainFile->getName())) { in translateFile()1632 getActualFileUID(MainFile)) { in translateFile()1635 SourceFile = MainFile; in translateFile()
1439 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteControlBlock() local1449 EmitRecordWithPath(FileAbbrevCode, Record, MainFile->getName()); in WriteControlBlock()