]> granicus.if.org Git - clang/commit
Fix redundant comparison in gcc::Common::ConstructJob.
authorHans Wennborg <hans@hanshq.net>
Wed, 20 Mar 2013 07:34:27 +0000 (07:34 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 20 Mar 2013 07:34:27 +0000 (07:34 +0000)
commit3309229f77222970cce344eaa6908ad9320d2d82
tree58c61d0e479636312ea88026e667accf4a6ca5a1
parenta2b3d58bb135dffeae3b73732adf38dff3682b46
Fix redundant comparison in gcc::Common::ConstructJob.

We were checking "Arch == llvm::Triple::x86_64 || Arch
== llvm::Triple::x86_64", but the rhs should actually check for
powerpc64.

Found while experimenting with a potential new Clang warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/unknown-gcc-arch.c