Skip to content

Commit 2f68ae4

Browse files
committed
Additional request from clang-format
1 parent 688f560 commit 2f68ae4

File tree

1 file changed

+67
-67
lines changed

1 file changed

+67
-67
lines changed

llvm/lib/TargetParser/Triple.cpp

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -433,73 +433,73 @@ static Triple::ArchType parseBPFArch(StringRef ArchName) {
433433
Triple::ArchType Triple::getArchTypeForLLVMName(StringRef Name) {
434434
Triple::ArchType BPFArch(parseBPFArch(Name));
435435
return StringSwitch<Triple::ArchType>(Name)
436-
.Case("aarch64", aarch64)
437-
.Case("aarch64_be", aarch64_be)
438-
.Case("aarch64_32", aarch64_32)
439-
.Case("arc", arc)
440-
.Case("arm64", aarch64) // "arm64" is an alias for "aarch64"
441-
.Case("arm64_32", aarch64_32)
442-
.Case("arm", arm)
443-
.Case("armeb", armeb)
444-
.Case("avr", avr)
445-
.StartsWith("bpf", BPFArch)
446-
.Case("m68k", m68k)
447-
.Case("mips", mips)
448-
.Case("mipsel", mipsel)
449-
.Case("mips64", mips64)
450-
.Case("mips64el", mips64el)
451-
.Case("msp430", msp430)
452-
.Case("ppc64", ppc64)
453-
.Case("ppc32", ppc)
454-
.Case("ppc", ppc)
455-
.Case("ppc32le", ppcle)
456-
.Case("ppcle", ppcle)
457-
.Case("ppc64le", ppc64le)
458-
.Case("r600", r600)
459-
.Case("amdgcn", amdgcn)
460-
.Case("riscv32", riscv32)
461-
.Case("riscv64", riscv64)
462-
.Case("riscv32be", riscv32be)
463-
.Case("riscv64be", riscv64be)
464-
.Case("hexagon", hexagon)
465-
.Case("sparc", sparc)
466-
.Case("sparcel", sparcel)
467-
.Case("sparcv9", sparcv9)
468-
.Case("s390x", systemz)
469-
.Case("systemz", systemz)
470-
.Case("tce", tce)
471-
.Case("tcele", tcele)
472-
.Case("thumb", thumb)
473-
.Case("thumbeb", thumbeb)
474-
.Case("x86", x86)
475-
.Case("i386", x86)
476-
.Case("x86-64", x86_64)
477-
.Case("xcore", xcore)
478-
.Case("nvptx", nvptx)
479-
.Case("nvptx64", nvptx64)
480-
.Case("amdil", amdil)
481-
.Case("amdil64", amdil64)
482-
.Case("hsail", hsail)
483-
.Case("hsail64", hsail64)
484-
.Case("spir", spir)
485-
.Case("spir64", spir64)
486-
.Case("spirv", spirv)
487-
.Case("spirv32", spirv32)
488-
.Case("spirv64", spirv64)
489-
.Case("kalimba", kalimba)
490-
.Case("lanai", lanai)
491-
.Case("shave", shave)
492-
.Case("wasm32", wasm32)
493-
.Case("wasm64", wasm64)
494-
.Case("renderscript32", renderscript32)
495-
.Case("renderscript64", renderscript64)
496-
.Case("ve", ve)
497-
.Case("csky", csky)
498-
.Case("loongarch32", loongarch32)
499-
.Case("loongarch64", loongarch64)
500-
.Case("dxil", dxil)
501-
.Case("xtensa", xtensa)
502-
.Default(UnknownArch);
436+
.Case("aarch64", aarch64)
437+
.Case("aarch64_be", aarch64_be)
438+
.Case("aarch64_32", aarch64_32)
439+
.Case("arc", arc)
440+
.Case("arm64", aarch64) // "arm64" is an alias for "aarch64"
441+
.Case("arm64_32", aarch64_32)
442+
.Case("arm", arm)
443+
.Case("armeb", armeb)
444+
.Case("avr", avr)
445+
.StartsWith("bpf", BPFArch)
446+
.Case("m68k", m68k)
447+
.Case("mips", mips)
448+
.Case("mipsel", mipsel)
449+
.Case("mips64", mips64)
450+
.Case("mips64el", mips64el)
451+
.Case("msp430", msp430)
452+
.Case("ppc64", ppc64)
453+
.Case("ppc32", ppc)
454+
.Case("ppc", ppc)
455+
.Case("ppc32le", ppcle)
456+
.Case("ppcle", ppcle)
457+
.Case("ppc64le", ppc64le)
458+
.Case("r600", r600)
459+
.Case("amdgcn", amdgcn)
460+
.Case("riscv32", riscv32)
461+
.Case("riscv64", riscv64)
462+
.Case("riscv32be", riscv32be)
463+
.Case("riscv64be", riscv64be)
464+
.Case("hexagon", hexagon)
465+
.Case("sparc", sparc)
466+
.Case("sparcel", sparcel)
467+
.Case("sparcv9", sparcv9)
468+
.Case("s390x", systemz)
469+
.Case("systemz", systemz)
470+
.Case("tce", tce)
471+
.Case("tcele", tcele)
472+
.Case("thumb", thumb)
473+
.Case("thumbeb", thumbeb)
474+
.Case("x86", x86)
475+
.Case("i386", x86)
476+
.Case("x86-64", x86_64)
477+
.Case("xcore", xcore)
478+
.Case("nvptx", nvptx)
479+
.Case("nvptx64", nvptx64)
480+
.Case("amdil", amdil)
481+
.Case("amdil64", amdil64)
482+
.Case("hsail", hsail)
483+
.Case("hsail64", hsail64)
484+
.Case("spir", spir)
485+
.Case("spir64", spir64)
486+
.Case("spirv", spirv)
487+
.Case("spirv32", spirv32)
488+
.Case("spirv64", spirv64)
489+
.Case("kalimba", kalimba)
490+
.Case("lanai", lanai)
491+
.Case("shave", shave)
492+
.Case("wasm32", wasm32)
493+
.Case("wasm64", wasm64)
494+
.Case("renderscript32", renderscript32)
495+
.Case("renderscript64", renderscript64)
496+
.Case("ve", ve)
497+
.Case("csky", csky)
498+
.Case("loongarch32", loongarch32)
499+
.Case("loongarch64", loongarch64)
500+
.Case("dxil", dxil)
501+
.Case("xtensa", xtensa)
502+
.Default(UnknownArch);
503503
}
504504

505505
static Triple::ArchType parseARMArch(StringRef ArchName) {

0 commit comments

Comments
 (0)