Lines Matching refs:FileName
37 ModuleManager::addModule(StringRef FileName, ModuleKind Type,
39 const FileEntry *Entry = FileMgr.getFile(FileName);
40 if (!Entry && FileName != "-") {
51 New->FileName = FileName.str();
57 if (llvm::MemoryBuffer *Buffer = lookupBuffer(FileName)) {
64 if (FileName == "-") {
69 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr));
89 void ModuleManager::addInMemoryBuffer(StringRef FileName,
92 const FileEntry *Entry = FileMgr.getVirtualFile(FileName,
245 return llvm::sys::path::stem(M->FileName);