Lines Matching defs:HFI
433 HeaderFileInfo &HFI = getFileInfo(FE);
434 HFI.DirInfo = CurDir->getDirCharacteristic();
441 HFI.IndexHeaderMapHeader = 1;
442 HFI.Framework = getUniqueFrameworkName(StringRef(Filename.begin(),
584 /// header file info (\p HFI)
585 static void mergeHeaderFileInfo(HeaderFileInfo &HFI,
587 HFI.isImport |= OtherHFI.isImport;
588 HFI.isPragmaOnce |= OtherHFI.isPragmaOnce;
589 HFI.NumIncludes += OtherHFI.NumIncludes;
591 if (!HFI.ControllingMacro && !HFI.ControllingMacroID) {
592 HFI.ControllingMacro = OtherHFI.ControllingMacro;
593 HFI.ControllingMacroID = OtherHFI.ControllingMacroID;
597 HFI.DirInfo = OtherHFI.DirInfo;
598 HFI.External = OtherHFI.External;
599 HFI.IndexHeaderMapHeader = OtherHFI.IndexHeaderMapHeader;
602 if (HFI.Framework.empty())
603 HFI.Framework = OtherHFI.Framework;
605 HFI.Resolved = true;
614 HeaderFileInfo &HFI = FileInfo[FE->getUID()];
615 if (ExternalSource && !HFI.Resolved)
616 mergeHeaderFileInfo(HFI, ExternalSource->GetHeaderFileInfo(FE));
617 return HFI;
626 HeaderFileInfo &HFI = FileInfo[File->getUID()];
627 if (ExternalSource && !HFI.Resolved)
628 mergeHeaderFileInfo(HFI, ExternalSource->GetHeaderFileInfo(File));
630 return HFI.isPragmaOnce || HFI.ControllingMacro || HFI.ControllingMacroID;
633 void HeaderSearch::setHeaderFileInfoForUID(HeaderFileInfo HFI, unsigned UID) {
636 HFI.Resolved = true;
637 FileInfo[UID] = HFI;