Displaying 1 result from an estimated 1 matches for "my_ilist".
Did you mean:
msi_list
2016 Aug 17
5
code to sort otherwise-unsortable "ilist"s, e.g. symbol tables
...nk I probably won`t submit that, at least not in its present form
-- maybe in a much-more-limited form that doesn`t need the sorting. However, I thought this
sorting code might be useful to somebody else, so here it is for feedback.
Maybe somebody wants to add the needed glue code so e.g. "my_ilist.sort()" will call the below
rather than invoking the relevant ancestor-class "sort()" and crashing? If so, then ditto for
e.g. "my_ilist.sort(my_comparator)", please.
Regards,
Abe
===== snippet from altered "llvm/include/llvm/ADT/ilist.h" =====
===== c...