r366620 - [NFC] Remove unused variable
Denis Bakhvalov via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 19 14:59:43 PDT 2019
Author: dendibakh
Date: Fri Jul 19 14:59:42 2019
New Revision: 366620
URL: http://llvm.org/viewvc/llvm-project?rev=366620&view=rev
Log:
[NFC] Remove unused variable
Change-Id: I5aee24dcdf6eebfbf788e52be22463387f23d927
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=366620&r1=366619&r2=366620&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Fri Jul 19 14:59:42 2019
@@ -9329,7 +9329,7 @@ bool RISCVABIInfo::detectFPCCEligibleStr
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;
More information about the cfe-commits
mailing list