aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorDenis Bakhvalov <denis.bakhvalov@intel.com>2019-07-19 21:59:42 +0000
committerDenis Bakhvalov <denis.bakhvalov@intel.com>2019-07-19 21:59:42 +0000
commit033d1919844447cb6153db55376bc1906709c7c0 (patch)
treef858ea0b5962bc0e10b0c47a8c3bbf2ce8c2e016 /lib/CodeGen/TargetInfo.cpp
parent088f90a1778e4d16bd5ada83620c3ad68bdc12f0 (diff)
[NFC] Remove unused variable
Change-Id: I5aee24dcdf6eebfbf788e52be22463387f23d927 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366620 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 1e1038dbfe..884b80cecd 100644
--- a/lib/CodeGen/TargetInfo.cpp
+++ b/lib/CodeGen/TargetInfo.cpp
@@ -9329,7 +9329,7 @@ bool RISCVABIInfo::detectFPCCEligibleStructHelper(QualType Ty, CharUnits CurOff,
if (const auto *RTy = Ty->getAs<RecordType>()) {
// Structures with either a non-trivial destructor or a non-trivial
// copy constructor are not eligible for the FP calling convention.
- if (CGCXXABI::RecordArgABI RAA = getRecordArgABI(Ty, CGT.getCXXABI()))
+ if (getRecordArgABI(Ty, CGT.getCXXABI()))
return false;
if (isEmptyRecord(getContext(), Ty, true))
return true;