summaryrefslogtreecommitdiffstats
path: root/clang/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
commitec87fece21b724709dec8d7cdbaeafb88debe2b0 (patch)
tree4efbf3de3c4670384de2253405b6629bfbf209d3 /clang/lib/CodeGen/TargetInfo.cpp
parent7f5f0f3f6e634054b18ed15cdaddb1e897fa2d55 (diff)
downloadbcm5719-llvm-ec87fece21b724709dec8d7cdbaeafb88debe2b0.tar.gz
bcm5719-llvm-ec87fece21b724709dec8d7cdbaeafb88debe2b0.zip
Remove unused variable that I missed in my rush to fix the bots
llvm-svn: 207820
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
-rw-r--r--clang/lib/CodeGen/TargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index 9a8301617ff..5ad940d157b 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud