Lines Matching refs:HFI
591 HeaderFileInfo &HFI = getFileInfo(FE);
592 HFI.DirInfo = CurDir->getDirCharacteristic();
597 if (HFI.DirInfo == SrcMgr::C_User && InUserSpecifiedSystemFramework)
598 HFI.DirInfo = SrcMgr::C_System;
604 HFI.DirInfo = SystemHeaderPrefixes[j-1].second ? SrcMgr::C_System
615 HFI.IndexHeaderMapHeader = 1;
616 HFI.Framework = getUniqueFrameworkName(StringRef(Filename.begin(),
804 /// header file info (\p HFI)
805 static void mergeHeaderFileInfo(HeaderFileInfo &HFI,
807 HFI.isImport |= OtherHFI.isImport;
808 HFI.isPragmaOnce |= OtherHFI.isPragmaOnce;
809 HFI.isModuleHeader |= OtherHFI.isModuleHeader;
810 HFI.NumIncludes += OtherHFI.NumIncludes;
812 if (!HFI.ControllingMacro && !HFI.ControllingMacroID) {
813 HFI.ControllingMacro = OtherHFI.ControllingMacro;
814 HFI.ControllingMacroID = OtherHFI.ControllingMacroID;
818 HFI.DirInfo = OtherHFI.DirInfo;
819 HFI.External = OtherHFI.External;
820 HFI.IndexHeaderMapHeader = OtherHFI.IndexHeaderMapHeader;
823 if (HFI.Framework.empty())
824 HFI.Framework = OtherHFI.Framework;
826 HFI.Resolved = true;
835 HeaderFileInfo &HFI = FileInfo[FE->getUID()];
836 if (ExternalSource && !HFI.Resolved)
837 mergeHeaderFileInfo(HFI, ExternalSource->GetHeaderFileInfo(FE));
838 return HFI;
847 HeaderFileInfo &HFI = FileInfo[File->getUID()];
848 if (ExternalSource && !HFI.Resolved)
849 mergeHeaderFileInfo(HFI, ExternalSource->GetHeaderFileInfo(File));
851 return HFI.isPragmaOnce || HFI.isImport ||
852 HFI.ControllingMacro || HFI.ControllingMacroID;
859 HeaderFileInfo &HFI = FileInfo[FE->getUID()];
860 HFI.isModuleHeader = true;
863 void HeaderSearch::setHeaderFileInfoForUID(HeaderFileInfo HFI, unsigned UID) {
866 HFI.Resolved = true;
867 FileInfo[UID] = HFI;