Lines Matching refs:Major
635 void Triple::getOSVersion(unsigned &Major, unsigned &Minor,
645 Major = Minor = Micro = 0;
648 unsigned *Components[3] = { &Major, &Minor, &Micro };
662 bool Triple::getMacOSXVersion(unsigned &Major, unsigned &Minor,
664 getOSVersion(Major, Minor, Micro);
670 if (Major == 0)
671 Major = 8;
673 if (Major < 4)
676 Minor = Major - 4;
677 Major = 10;
681 if (Major == 0) {
682 Major = 10;
685 if (Major != 10)
693 Major = 10;
701 void Triple::getiOSVersion(unsigned &Major, unsigned &Minor,
711 Major = 5;
716 getOSVersion(Major, Minor, Micro);
718 if (Major == 0)
719 Major = (getArch() == arm64) ? 7 : 5;