Lines Matching defs:FE
103 const HeaderMap *HeaderSearch::CreateHeaderMap(const FileEntry *FE) {
110 if (HeaderMaps[i].first == FE)
114 if (const HeaderMap *HM = HeaderMap::Create(FE, FileMgr)) {
115 HeaderMaps.push_back(std::make_pair(FE, HM));
478 const FileEntry *FE = FileMgr.getFile(FrameworkName,
480 if (!FE) {
489 FE = FileMgr.getFile(FrameworkName, /*openFile=*/!SuggestedModule);
493 if (FE && SuggestedModule) {
495 StringRef FrameworkPath = FE->getDir()->getName();
519 FE, FrameworkPath, RequestingModule, SuggestedModule, IsSystem))
522 if (!HS.findUsableModuleForHeader(FE, getDir(), RequestingModule,
527 return FE;
543 const FileEntry *MSFE, const FileEntry *FE,
545 if (MSFE && FE != MSFE) {
624 if (const FileEntry *FE = getFileAndSuggestModule(
629 return FE;
643 HeaderFileInfo &ToHFI = getFileInfo(FE);
658 return FE;
664 return FE;
666 MSFE = FE;
715 const FileEntry *FE = SearchDirs[i].LookupFile(
723 if (!FE) continue;
728 HeaderFileInfo &HFI = getFileInfo(FE);
758 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) {
766 return FE;
782 const FileEntry *FE =
787 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) {
796 return FE;
872 const FileEntry *FE = nullptr;
889 if (!(FE = FileMgr.getFile(HeadersFilename, /*openFile=*/true))) {
901 if (!(FE = FileMgr.getFile(HeadersFilename, /*openFile=*/true)))
911 getFileInfo(FE).DirInfo = DirInfo;
914 if (!findUsableModuleForFrameworkHeader(FE, FrameworkName, RequestingModule,
918 return FE;
952 HeaderFileInfo &HeaderSearch::getFileInfo(const FileEntry *FE) {
953 if (FE->getUID() >= FileInfo.size())
954 FileInfo.resize(FE->getUID() + 1);
956 HeaderFileInfo *HFI = &FileInfo[FE->getUID()];
960 auto ExternalHFI = ExternalSource->GetHeaderFileInfo(FE);
962 HFI = &FileInfo[FE->getUID()];
975 HeaderSearch::getExistingFileInfo(const FileEntry *FE,
981 if (FE->getUID() >= FileInfo.size()) {
984 FileInfo.resize(FE->getUID() + 1);
987 HFI = &FileInfo[FE->getUID()];
992 auto ExternalHFI = ExternalSource->GetHeaderFileInfo(FE);
994 HFI = &FileInfo[FE->getUID()];
998 } else if (FE->getUID() >= FileInfo.size()) {
1001 HFI = &FileInfo[FE->getUID()];
1018 void HeaderSearch::MarkFileModuleHeader(const FileEntry *FE,
1027 auto *HFI = getExistingFileInfo(FE);
1032 auto &HFI = getFileInfo(FE);