Skip to content

Commit 5a93fdf

Browse files
committed
clang format
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent e1b9b50 commit 5a93fdf

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

llvm/lib/TargetParser/Triple.cpp

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ StringRef Triple::getVendorTypeName(VendorType Kind) {
241241
case Freescale: return "fsl";
242242
case IBM: return "ibm";
243243
case ImaginationTechnologies: return "img";
244-
case Intel: return "intel";
244+
case Intel:
245+
return "intel";
245246
case Mesa: return "mesa";
246247
case MipsTechnologies: return "mti";
247248
case NVIDIA: return "nvidia";
@@ -628,22 +629,22 @@ static Triple::ArchType parseArch(StringRef ArchName) {
628629

629630
static Triple::VendorType parseVendor(StringRef VendorName) {
630631
return StringSwitch<Triple::VendorType>(VendorName)
631-
.Case("apple", Triple::Apple)
632-
.Case("pc", Triple::PC)
633-
.Case("scei", Triple::SCEI)
634-
.Case("sie", Triple::SCEI)
635-
.Case("fsl", Triple::Freescale)
636-
.Case("ibm", Triple::IBM)
637-
.Case("img", Triple::ImaginationTechnologies)
638-
.Case("intel", Triple::Intel)
639-
.Case("mti", Triple::MipsTechnologies)
640-
.Case("nvidia", Triple::NVIDIA)
641-
.Case("csr", Triple::CSR)
642-
.Case("amd", Triple::AMD)
643-
.Case("mesa", Triple::Mesa)
644-
.Case("suse", Triple::SUSE)
645-
.Case("oe", Triple::OpenEmbedded)
646-
.Default(Triple::UnknownVendor);
632+
.Case("apple", Triple::Apple)
633+
.Case("pc", Triple::PC)
634+
.Case("scei", Triple::SCEI)
635+
.Case("sie", Triple::SCEI)
636+
.Case("fsl", Triple::Freescale)
637+
.Case("ibm", Triple::IBM)
638+
.Case("img", Triple::ImaginationTechnologies)
639+
.Case("intel", Triple::Intel)
640+
.Case("mti", Triple::MipsTechnologies)
641+
.Case("nvidia", Triple::NVIDIA)
642+
.Case("csr", Triple::CSR)
643+
.Case("amd", Triple::AMD)
644+
.Case("mesa", Triple::Mesa)
645+
.Case("suse", Triple::SUSE)
646+
.Case("oe", Triple::OpenEmbedded)
647+
.Default(Triple::UnknownVendor);
647648
}
648649

649650
static Triple::OSType parseOS(StringRef OSName) {

0 commit comments

Comments
 (0)