diff --git a/llvm/include/llvm/TableGen/Record.h b/llvm/include/llvm/TableGen/Record.h index 48aeaa14ca485..a082fe5d74a1f 100644 --- a/llvm/include/llvm/TableGen/Record.h +++ b/llvm/include/llvm/TableGen/Record.h @@ -1604,11 +1604,6 @@ class Record { /// recursion / infinite loops. void resolveReferences(Resolver &R, const RecordVal *SkipVal = nullptr); - /// If anything in this record refers to RV, replace the - /// reference to RV with the RHS of RV. If RV is null, we resolve all - /// possible references. - void resolveReferencesTo(const RecordVal *RV); - RecordKeeper &getRecords() const { return TrackedRecords; } diff --git a/llvm/lib/TableGen/Record.cpp b/llvm/lib/TableGen/Record.cpp index ca8cd15294d20..6f774e960b43a 100644 --- a/llvm/lib/TableGen/Record.cpp +++ b/llvm/lib/TableGen/Record.cpp @@ -2156,11 +2156,6 @@ void Record::resolveReferences() { resolveReferences(R); } -void Record::resolveReferencesTo(const RecordVal *RV) { - RecordValResolver R(*this, RV); - resolveReferences(R, RV); -} - #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) LLVM_DUMP_METHOD void Record::dump() const { errs() << *this; } #endif