Lines Matching refs:Major
517 void Triple::getOSVersion(unsigned &Major, unsigned &Minor,
527 Major = Minor = Micro = 0;
530 unsigned *Components[3] = { &Major, &Minor, &Micro };
544 bool Triple::getMacOSXVersion(unsigned &Major, unsigned &Minor,
546 getOSVersion(Major, Minor, Micro);
552 if (Major == 0)
553 Major = 8;
555 if (Major < 4)
558 Minor = Major - 4;
559 Major = 10;
563 if (Major == 0) {
564 Major = 10;
567 if (Major != 10)
575 Major = 10;
583 void Triple::getiOSVersion(unsigned &Major, unsigned &Minor,
593 Major = 3;
598 getOSVersion(Major, Minor, Micro);
600 if (Major == 0)
601 Major = 3;