Lines Matching refs:HFI
504 HeaderFileInfo &HFI = getFileInfo(FE);
505 HFI.DirInfo = CurDir->getDirCharacteristic();
510 if (HFI.DirInfo == SrcMgr::C_User && InUserSpecifiedSystemFramework)
511 HFI.DirInfo = SrcMgr::C_System;
518 HFI.IndexHeaderMapHeader = 1;
519 HFI.Framework = getUniqueFrameworkName(StringRef(Filename.begin(),
686 /// header file info (\p HFI)
687 static void mergeHeaderFileInfo(HeaderFileInfo &HFI,
689 HFI.isImport |= OtherHFI.isImport;
690 HFI.isPragmaOnce |= OtherHFI.isPragmaOnce;
691 HFI.NumIncludes += OtherHFI.NumIncludes;
693 if (!HFI.ControllingMacro && !HFI.ControllingMacroID) {
694 HFI.ControllingMacro = OtherHFI.ControllingMacro;
695 HFI.ControllingMacroID = OtherHFI.ControllingMacroID;
699 HFI.DirInfo = OtherHFI.DirInfo;
700 HFI.External = OtherHFI.External;
701 HFI.IndexHeaderMapHeader = OtherHFI.IndexHeaderMapHeader;
704 if (HFI.Framework.empty())
705 HFI.Framework = OtherHFI.Framework;
707 HFI.Resolved = true;
716 HeaderFileInfo &HFI = FileInfo[FE->getUID()];
717 if (ExternalSource && !HFI.Resolved)
718 mergeHeaderFileInfo(HFI, ExternalSource->GetHeaderFileInfo(FE));
719 return HFI;
728 HeaderFileInfo &HFI = FileInfo[File->getUID()];
729 if (ExternalSource && !HFI.Resolved)
730 mergeHeaderFileInfo(HFI, ExternalSource->GetHeaderFileInfo(File));
732 return HFI.isPragmaOnce || HFI.ControllingMacro || HFI.ControllingMacroID;
735 void HeaderSearch::setHeaderFileInfoForUID(HeaderFileInfo HFI, unsigned UID) {
738 HFI.Resolved = true;
739 FileInfo[UID] = HFI;