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(StringRef MainFile);
482 void PTHWriter::GeneratePTH(StringRef 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.h195 void addVisited(bool MainFile) { in addVisited() argument
196 if (MainFile) in addVisited()
201 void addMissing(bool MainFile) { in addMissing() argument
202 if (MainFile) in addMissing()
207 void addMismatched(bool MainFile) { ++Mismatched; } in addMismatched() argument
211 void reportDiagnostics(DiagnosticsEngine &Diags, StringRef MainFile);
DCodeGenAction.cpp796 llvm::MemoryBuffer *MainFile = SM.getBuffer(FID, &Invalid); in ExecuteAction() local
806 TheModule = parseIR(MainFile->getMemBufferRef(), Err, *VMContext); in ExecuteAction()
838 MainFile->getMemBufferRef()); in ExecuteAction()
DCGDeclCXX.cpp454 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in EmitCXXGlobalInitFunc() local
458 FileName = llvm::sys::path::filename(MainFile->getName()); in EmitCXXGlobalInitFunc()
DCodeGenModule.cpp361 StringRef MainFile) { in reportDiagnostics() argument
365 if (MainFile.empty()) in reportDiagnostics()
366 MainFile = "<stdin>"; in reportDiagnostics()
367 Diags.Report(diag::warn_profile_data_unprofiled) << MainFile; in reportDiagnostics()
1401 if (const auto *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in isInSanitizerBlacklist() local
1402 return SanitizerBL.isBlacklistedFile(MainFile->getName()); in isInSanitizerBlacklist()
DCGDebugInfo.cpp407 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit() local
408 MainFileDir = remapDIPath(MainFile->getDir()->getName()); in CreateCompileUnit()
/external/clang/lib/Basic/
DSourceManager.cpp1633 const FileEntry *MainFile = MainContentCache->OrigEntry; in translateFile() local
1635 if (*SourceFileName == llvm::sys::path::filename(MainFile->getName())) { in translateFile()
1639 getActualFileUID(MainFile)) { in translateFile()
1642 SourceFile = MainFile; in translateFile()
/external/clang/lib/Serialization/
DASTWriter.cpp1496 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteControlBlock() local
1506 EmitRecordWithPath(FileAbbrevCode, Record, MainFile->getName()); in WriteControlBlock()