[llvm] [TableGen] Only store direct superclasses in Record (PR #123072)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 16 03:55:28 PST 2025
================
@@ -2906,35 +2903,6 @@ void Record::setName(const Init *NewName) {
// this. See TGParser::ParseDef and TGParser::ParseDefm.
}
-// NOTE for the next two functions:
-// Superclasses are in post-order, so the final one is a direct
-// superclass. All of its transitive superclases immediately precede it,
-// so we can step through the direct superclasses in reverse order.
----------------
s-barannikov wrote:
Looks like an important note, should it be moved to the new implementation?
https://github.com/llvm/llvm-project/pull/123072
More information about the llvm-commits
mailing list