Skip to content

Commit 9caac56

Browse files
committed
[TableGen] Delete unused Record::resolveReferencesTo() after D44478. NFC
1 parent 2b28275 commit 9caac56

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

llvm/include/llvm/TableGen/Record.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,11 +1604,6 @@ class Record {
16041604
/// recursion / infinite loops.
16051605
void resolveReferences(Resolver &R, const RecordVal *SkipVal = nullptr);
16061606

1607-
/// If anything in this record refers to RV, replace the
1608-
/// reference to RV with the RHS of RV. If RV is null, we resolve all
1609-
/// possible references.
1610-
void resolveReferencesTo(const RecordVal *RV);
1611-
16121607
RecordKeeper &getRecords() const {
16131608
return TrackedRecords;
16141609
}

llvm/lib/TableGen/Record.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,11 +2156,6 @@ void Record::resolveReferences() {
21562156
resolveReferences(R);
21572157
}
21582158

2159-
void Record::resolveReferencesTo(const RecordVal *RV) {
2160-
RecordValResolver R(*this, RV);
2161-
resolveReferences(R, RV);
2162-
}
2163-
21642159
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
21652160
LLVM_DUMP_METHOD void Record::dump() const { errs() << *this; }
21662161
#endif

0 commit comments

Comments
 (0)