Lines Matching refs:Major
298 void getEnvironmentVersion(unsigned &Major, unsigned &Minor,
310 void getOSVersion(unsigned &Major, unsigned &Minor, unsigned &Micro) const;
312 /// getOSMajorVersion - Return just the major version number, this is
324 bool getMacOSXVersion(unsigned &Major, unsigned &Minor,
329 void getiOSVersion(unsigned &Major, unsigned &Minor,
334 void getWatchOSVersion(unsigned &Major, unsigned &Minor,
390 bool isOSVersionLT(unsigned Major, unsigned Minor = 0,
395 if (LHS[0] != Major)
396 return LHS[0] < Major;
414 bool isMacOSXVersionLT(unsigned Major, unsigned Minor = 0,
420 return isOSVersionLT(Major, Minor, Micro);
423 assert(Major == 10 && "Unexpected major version");
603 bool isAndroidVersionLT(unsigned Major) const {
613 return Env[0] < Major;