Silence compiler warnings

llvm-svn: 351215
This commit is contained in:
Adrian Prantl 2019-01-15 18:07:54 +00:00
parent d963a7c398
commit d8024371a5
8 changed files with 8 additions and 8 deletions

View File

@ -89,7 +89,7 @@ PlatformSP PlatformAppleTVSimulator::CreateInstance(bool force,
// Only accept "unknown" for the vendor if the host is Apple and it
// "unknown" wasn't specified (it was just returned because it was NOT
// specified)
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;
#endif

View File

@ -88,7 +88,7 @@ PlatformSP PlatformAppleWatchSimulator::CreateInstance(bool force,
// Only accept "unknown" for the vendor if the host is Apple and it
// "unknown" wasn't specified (it was just returned because it was NOT
// specified)
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;
#endif

View File

@ -111,7 +111,7 @@ PlatformSP PlatformDarwinKernel::CreateInstance(bool force,
// Only accept "unknown" for vendor if the host is Apple and it "unknown"
// wasn't specified (it was just returned because it was NOT specified)
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;
default:

View File

@ -94,7 +94,7 @@ PlatformSP PlatformRemoteAppleBridge::CreateInstance(bool force,
// Only accept "unknown" for the vendor if the host is Apple and
// it "unknown" wasn't specified (it was just returned because it
// was NOT specified)
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;

View File

@ -97,7 +97,7 @@ PlatformSP PlatformRemoteAppleTV::CreateInstance(bool force,
// Only accept "unknown" for the vendor if the host is Apple and
// "unknown" wasn't specified (it was just returned because it was NOT
// specified)
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;

View File

@ -92,7 +92,7 @@ PlatformSP PlatformRemoteAppleWatch::CreateInstance(bool force,
// Only accept "unknown" for the vendor if the host is Apple and
// "unknown" wasn't specified (it was just returned because it was NOT
// specified)
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;

View File

@ -87,7 +87,7 @@ PlatformSP PlatformRemoteiOS::CreateInstance(bool force, const ArchSpec *arch) {
// Only accept "unknown" for the vendor if the host is Apple and
// "unknown" wasn't specified (it was just returned because it was NOT
// specified)
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;

View File

@ -90,7 +90,7 @@ PlatformSP PlatformiOSSimulator::CreateInstance(bool force,
// Only accept "unknown" for the vendor if the host is Apple and it
// "unknown" wasn't specified (it was just returned because it was NOT
// specified)
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;
#endif