summaryrefslogtreecommitdiff
path: root/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-05-02 01:17:12 +0000
committerReid Kleckner <reid@kleckner.net>2014-05-02 01:17:12 +0000
commitc0ddee2b264e5786615d0c809fc0a511c0bfec78 (patch)
tree9f11da26eefff7af1cc77b1601d308bb821e247a /lib/CodeGen/TargetInfo.cpp
parent2336f58e882c77e0011d6c38b95d128273e7f777 (diff)
downloadclang-c0ddee2b264e5786615d0c809fc0a511c0bfec78.tar.gz
clang-c0ddee2b264e5786615d0c809fc0a511c0bfec78.tar.bz2
clang-c0ddee2b264e5786615d0c809fc0a511c0bfec78.tar.xz
Remove unused variable that I missed in my rush to fix the bots
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r--lib/CodeGen/TargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp
index 9a8301617f..5ad940d157 100644
--- a/lib/CodeGen/TargetInfo.cpp
+++ b/lib/CodeGen/TargetInfo.cpp
@@ -2736,7 +2736,7 @@ ABIArgInfo WinX86_64ABIInfo::classify(QualType Ty, bool IsReturnType) const {
Size));
}
- if (const auto *MPT = Ty->getAs<MemberPointerType>()) {
+ if (Ty->isMemberPointerType()) {
// If the member pointer is represented by an LLVM int or ptr, pass it
// directly.
llvm::Type *LLTy = CGT.ConvertType(Ty);