summaryrefslogtreecommitdiffstats
path: root/clang
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
commita29002e59b5258a2d00aeec51313a29af9ad1bd3 (patch)
tree1291faff96b53d86aae9251c96fceeb977739e23 /clang
parent05d9e6a2a3d297260495aa51afb7ca5c8bbe3b4b (diff)
downloadbcm5719-llvm-a29002e59b5258a2d00aeec51313a29af9ad1bd3.tar.gz
bcm5719-llvm-a29002e59b5258a2d00aeec51313a29af9ad1bd3.zip
[NFC] Remove unused variable
Change-Id: I5aee24dcdf6eebfbf788e52be22463387f23d927 llvm-svn: 366620
Diffstat (limited to 'clang')
-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 1e1038dbfe9..884b80cecd0 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud