Lines Matching refs:Major
296 void getEnvironmentVersion(unsigned &Major, unsigned &Minor,
308 void getOSVersion(unsigned &Major, unsigned &Minor, unsigned &Micro) const;
310 /// getOSMajorVersion - Return just the major version number, this is
322 bool getMacOSXVersion(unsigned &Major, unsigned &Minor,
327 void getiOSVersion(unsigned &Major, unsigned &Minor,
332 void getWatchOSVersion(unsigned &Major, unsigned &Minor,
388 bool isOSVersionLT(unsigned Major, unsigned Minor = 0,
393 if (LHS[0] != Major)
394 return LHS[0] < Major;
412 bool isMacOSXVersionLT(unsigned Major, unsigned Minor = 0,
418 return isOSVersionLT(Major, Minor, Micro);
421 assert(Major == 10 && "Unexpected major version");