Change-Id: I5aee24dcdf6eebfbf788e52be22463387f23d927
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@366620
91177308-0d34-0410-b5e6-
96231b3b80d8
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;