From 4c77a0f1ce6f950805f567ff6505f7c18e62e288 Mon Sep 17 00:00:00 2001 From: Brandon Bergren Date: Sat, 2 Jan 2021 12:21:28 -0600 Subject: [PATCH] [PowerPC] NFC: Apply minor clang-format fix --- clang/lib/Driver/ToolChains/Linux.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp index 74d4c24..9663a73 100644 --- a/clang/lib/Driver/ToolChains/Linux.cpp +++ b/clang/lib/Driver/ToolChains/Linux.cpp @@ -198,8 +198,7 @@ static StringRef getOSLibDir(const llvm::Triple &Triple, const ArgList &Args) { // FIXME: This is a bit of a hack. We should really unify this code for // reasoning about oslibdir spellings with the lib dir spellings in the // GCCInstallationDetector, but that is a more significant refactoring. - if (Triple.getArch() == llvm::Triple::x86 || - Triple.isPPC32() || + if (Triple.getArch() == llvm::Triple::x86 || Triple.isPPC32() || Triple.getArch() == llvm::Triple::sparc) return "lib32"; -- 2.7.4