Lines Matching defs:File
195 const FileEntry *File, const Module *M) {
196 if (File->tryGetRealPathName().empty())
200 llvm::sys::path::filename(File->tryGetRealPathName());
232 if (auto File = findAPINotesFile(Dir, ModuleName, WantPublic)) {
234 checkPrivateAPINotesName(SM.getDiagnostics(), *File, M);
236 APINotes.push_back(*File);
240 if (auto File = findAPINotesFile(Dir, ExportedModuleName, WantPublic))
241 APINotes.push_back(*File);
292 if (auto File = findAPINotesFile(*SearchDir, ModuleName)) {
293 APINotes.push_back(*File);
310 for (auto File : APINotes) {
311 CurrentModuleReaders[NumReaders++] = loadAPINotes(File).release();
313 M->APINotesFile = File.getName().str();
356 OptionalFileEntryRef File = SM.getFileEntryRefForID(ID);
357 if (!File)
362 OptionalDirectoryEntryRef Dir = File->getDir();