Lines Matching refs:HFI

728     HeaderFileInfo &HFI = getFileInfo(FE);  in LookupFile()  local
729 HFI.DirInfo = CurDir->getDirCharacteristic(); in LookupFile()
734 if (HFI.DirInfo == SrcMgr::C_User && InUserSpecifiedSystemFramework) in LookupFile()
735 HFI.DirInfo = SrcMgr::C_System; in LookupFile()
741 HFI.DirInfo = SystemHeaderPrefixes[j-1].second ? SrcMgr::C_System in LookupFile()
752 HFI.IndexHeaderMapHeader = 1; in LookupFile()
753 HFI.Framework = getUniqueFrameworkName(StringRef(Filename.begin(), in LookupFile()
927 static void mergeHeaderFileInfo(HeaderFileInfo &HFI, in mergeHeaderFileInfo() argument
931 HFI.isImport |= OtherHFI.isImport; in mergeHeaderFileInfo()
932 HFI.isPragmaOnce |= OtherHFI.isPragmaOnce; in mergeHeaderFileInfo()
933 HFI.isModuleHeader |= OtherHFI.isModuleHeader; in mergeHeaderFileInfo()
934 HFI.NumIncludes += OtherHFI.NumIncludes; in mergeHeaderFileInfo()
936 if (!HFI.ControllingMacro && !HFI.ControllingMacroID) { in mergeHeaderFileInfo()
937 HFI.ControllingMacro = OtherHFI.ControllingMacro; in mergeHeaderFileInfo()
938 HFI.ControllingMacroID = OtherHFI.ControllingMacroID; in mergeHeaderFileInfo()
941 HFI.DirInfo = OtherHFI.DirInfo; in mergeHeaderFileInfo()
942 HFI.External = (!HFI.IsValid || HFI.External); in mergeHeaderFileInfo()
943 HFI.IsValid = true; in mergeHeaderFileInfo()
944 HFI.IndexHeaderMapHeader = OtherHFI.IndexHeaderMapHeader; in mergeHeaderFileInfo()
946 if (HFI.Framework.empty()) in mergeHeaderFileInfo()
947 HFI.Framework = OtherHFI.Framework; in mergeHeaderFileInfo()
956 HeaderFileInfo *HFI = &FileInfo[FE->getUID()]; in getFileInfo() local
958 if (ExternalSource && !HFI->Resolved) { in getFileInfo()
959 HFI->Resolved = true; in getFileInfo()
962 HFI = &FileInfo[FE->getUID()]; in getFileInfo()
964 mergeHeaderFileInfo(*HFI, ExternalHFI); in getFileInfo()
967 HFI->IsValid = true; in getFileInfo()
970 HFI->External = false; in getFileInfo()
971 return *HFI; in getFileInfo()
979 HeaderFileInfo *HFI; in getExistingFileInfo() local
987 HFI = &FileInfo[FE->getUID()]; in getExistingFileInfo()
988 if (!WantExternal && (!HFI->IsValid || HFI->External)) in getExistingFileInfo()
990 if (!HFI->Resolved) { in getExistingFileInfo()
991 HFI->Resolved = true; in getExistingFileInfo()
994 HFI = &FileInfo[FE->getUID()]; in getExistingFileInfo()
996 mergeHeaderFileInfo(*HFI, ExternalHFI); in getExistingFileInfo()
1001 HFI = &FileInfo[FE->getUID()]; in getExistingFileInfo()
1004 if (!HFI->IsValid || (HFI->External && !WantExternal)) in getExistingFileInfo()
1007 return HFI; in getExistingFileInfo()
1012 if (auto *HFI = getExistingFileInfo(File)) in isFileMultipleIncludeGuarded() local
1013 return HFI->isPragmaOnce || HFI->isImport || HFI->ControllingMacro || in isFileMultipleIncludeGuarded()
1014 HFI->ControllingMacroID; in isFileMultipleIncludeGuarded()
1027 auto *HFI = getExistingFileInfo(FE); in MarkFileModuleHeader() local
1028 if (HFI && HFI->isModuleHeader) in MarkFileModuleHeader()
1032 auto &HFI = getFileInfo(FE); in MarkFileModuleHeader() local
1033 HFI.isModuleHeader |= isModularHeader; in MarkFileModuleHeader()
1034 HFI.isCompilingModuleHeader |= isCompilingModuleHeader; in MarkFileModuleHeader()