reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/TripleTest.cpp
 1150   T = Triple("i386-apple-darwin9");
 1151   EXPECT_TRUE(T.isMacOSX());
 1152   EXPECT_FALSE(T.isiOS());
 1153   EXPECT_FALSE(T.isArch16Bit());
 1154   EXPECT_TRUE(T.isArch32Bit());
 1155   EXPECT_FALSE(T.isArch64Bit());
 1156   T.getMacOSXVersion(Major, Minor, Micro);
 1160   T.getiOSVersion(Major, Minor, Micro);
 1165   T = Triple("x86_64-apple-darwin9");
 1166   EXPECT_TRUE(T.isMacOSX());
 1167   EXPECT_FALSE(T.isiOS());
 1168   EXPECT_FALSE(T.isArch16Bit());
 1169   EXPECT_FALSE(T.isArch32Bit());
 1170   EXPECT_TRUE(T.isArch64Bit());
 1171   T.getMacOSXVersion(Major, Minor, Micro);
 1175   T.getiOSVersion(Major, Minor, Micro);
 1180   T = Triple("x86_64-apple-macosx");
 1181   EXPECT_TRUE(T.isMacOSX());
 1182   EXPECT_FALSE(T.isiOS());
 1183   EXPECT_FALSE(T.isArch16Bit());
 1184   EXPECT_FALSE(T.isArch32Bit());
 1185   EXPECT_TRUE(T.isArch64Bit());
 1186   T.getMacOSXVersion(Major, Minor, Micro);
 1190   T.getiOSVersion(Major, Minor, Micro);
 1195   T = Triple("x86_64-apple-macosx10.7");
 1196   EXPECT_TRUE(T.isMacOSX());
 1197   EXPECT_FALSE(T.isiOS());
 1198   EXPECT_FALSE(T.isArch16Bit());
 1199   EXPECT_FALSE(T.isArch32Bit());
 1200   EXPECT_TRUE(T.isArch64Bit());
 1201   T.getMacOSXVersion(Major, Minor, Micro);
 1205   T.getiOSVersion(Major, Minor, Micro);
 1210   T = Triple("armv7-apple-ios");
 1211   EXPECT_FALSE(T.isMacOSX());
 1212   EXPECT_TRUE(T.isiOS());
 1213   EXPECT_FALSE(T.isArch16Bit());
 1214   EXPECT_TRUE(T.isArch32Bit());
 1215   EXPECT_FALSE(T.isArch64Bit());
 1216   T.getMacOSXVersion(Major, Minor, Micro);
 1220   T.getiOSVersion(Major, Minor, Micro);
 1225   T = Triple("armv7-apple-ios7.0");
 1226   EXPECT_FALSE(T.isMacOSX());
 1227   EXPECT_TRUE(T.isiOS());
 1228   EXPECT_FALSE(T.isArch16Bit());
 1229   EXPECT_TRUE(T.isArch32Bit());
 1230   EXPECT_FALSE(T.isArch64Bit());
 1231   T.getMacOSXVersion(Major, Minor, Micro);
 1235   T.getiOSVersion(Major, Minor, Micro);
 1239   EXPECT_FALSE(T.isSimulatorEnvironment());
 1241   T = Triple("x86_64-apple-ios10.3-simulator");
 1242   EXPECT_TRUE(T.isiOS());
 1243   T.getiOSVersion(Major, Minor, Micro);
 1247   EXPECT_TRUE(T.isSimulatorEnvironment());
 1248   EXPECT_FALSE(T.isMacCatalystEnvironment());
 1250   T = Triple("x86_64-apple-ios13.0-macabi");
 1251   EXPECT_TRUE(T.isiOS());
 1252   T.getiOSVersion(Major, Minor, Micro);
 1256   EXPECT_TRUE(T.getEnvironment() == Triple::MacABI);
 1257   EXPECT_TRUE(T.isMacCatalystEnvironment());
 1258   EXPECT_FALSE(T.isSimulatorEnvironment());