Skip to content

Commit 539259d

Browse files
committed
[TableGen][DecoderEmitter] Remove unused move constructor (NFC)
Also delete no-op destructor declaration.
1 parent 781a4db commit 539259d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

llvm/utils/TableGen/DecoderEmitter.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,8 @@ class Filter {
428428
std::unique_ptr<const FilterChooser> VariableFC;
429429

430430
public:
431-
Filter(Filter &&f);
432431
Filter(const FilterChooser &owner, unsigned startBit, unsigned numBits);
433432

434-
~Filter() = default;
435-
436433
bool hasSingleFilteredID() const {
437434
return FilteredIDs.size() == 1 && FilteredIDs.begin()->second.size() == 1;
438435
}
@@ -645,13 +642,6 @@ class FilterChooser {
645642
// //
646643
///////////////////////////
647644

648-
Filter::Filter(Filter &&f)
649-
: Owner(f.Owner), StartBit(f.StartBit), NumBits(f.NumBits),
650-
FilteredIDs(std::move(f.FilteredIDs)),
651-
VariableIDs(std::move(f.VariableIDs)),
652-
FilterChooserMap(std::move(f.FilterChooserMap)),
653-
VariableFC(std::move(f.VariableFC)) {}
654-
655645
Filter::Filter(const FilterChooser &owner, unsigned startBit, unsigned numBits)
656646
: Owner(owner), StartBit(startBit), NumBits(numBits) {
657647
assert(StartBit + NumBits - 1 < Owner.FilterBits.getBitWidth());

0 commit comments

Comments
 (0)