Skip to content

Commit 45221ff

Browse files
committed
Rename unused return values to '_'
1 parent a58f9be commit 45221ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CGClass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,7 +2814,7 @@ void CodeGenFunction::EmitVTablePtrCheckForCall(const CXXRecordDecl *RD,
28142814
if (!SanOpts.has(SanitizerKind::CFICastStrict))
28152815
RD = LeastDerivedClassWithSameLayout(RD);
28162816

2817-
auto [Ordinal, SSK] = SanitizerInfoFromCFICheckKind(TCK);
2817+
auto [Ordinal, _] = SanitizerInfoFromCFICheckKind(TCK);
28182818
ApplyDebugLocation ApplyTrapDI(*this, SanitizerAnnotateDebugInfo(Ordinal));
28192819

28202820
EmitVTablePtrCheck(RD, VTable, TCK, Loc);
@@ -2839,7 +2839,7 @@ void CodeGenFunction::EmitVTablePtrCheckForCast(QualType T, Address Derived,
28392839
if (!SanOpts.has(SanitizerKind::CFICastStrict))
28402840
ClassDecl = LeastDerivedClassWithSameLayout(ClassDecl);
28412841

2842-
auto [Ordinal, SSK] = SanitizerInfoFromCFICheckKind(TCK);
2842+
auto [Ordinal, _] = SanitizerInfoFromCFICheckKind(TCK);
28432843
ApplyDebugLocation ApplyTrapDI(*this, SanitizerAnnotateDebugInfo(Ordinal));
28442844

28452845
llvm::BasicBlock *ContBlock = nullptr;

0 commit comments

Comments
 (0)