forked from OSchip/llvm-project
[NFC] Remove unused variable
Change-Id: I5aee24dcdf6eebfbf788e52be22463387f23d927 llvm-svn: 366620
This commit is contained in:
parent
05d9e6a2a3
commit
a29002e59b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue