[clang] 430db35 - fix typo

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 8 14:59:35 PDT 2020


Author: Brad Smith
Date: 2020-08-08T17:58:13-04:00
New Revision: 430db35bf21505015c618e292e98793e2ed49169

URL: https://github.com/llvm/llvm-project/commit/430db35bf21505015c618e292e98793e2ed49169
DIFF: https://github.com/llvm/llvm-project/commit/430db35bf21505015c618e292e98793e2ed49169.diff

LOG: fix typo

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/Clang.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp
index b4a8ce8e95ce..d35d7d808084 100644
--- a/clang/lib/Driver/ToolChains/Clang.cpp
+++ b/clang/lib/Driver/ToolChains/Clang.cpp
@@ -1884,7 +1884,7 @@ void Clang::AddPPCTargetArgs(const ArgList &Args,
     switch (getToolChain().getArch()) {
     case llvm::Triple::ppc64: {
       if ((T.isOSFreeBSD() && T.getOSMajorVersion() >= 13) ||
-          T.isOSOpenBSD() || T.isMusl()
+          T.isOSOpenBSD() || T.isMusl())
         ABIName = "elfv2";
       else
         ABIName = "elfv1";


        


More information about the cfe-commits mailing list