I want to add the ability to rerun the outliner in certain cases, and I thought this could be an NFC change that could make a subsequent change a cleaner diff.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I think the implementation of doOutline is missing here?
llvm/lib/CodeGen/MachineOutliner.cpp | ||
---|---|---|
899 | I think that if you write this as doOutline(), Doxygen will automatically create a link to its entry on doOutline. That might be useful to people looking at the docs. (Judging by http://www.doxygen.nl/manual/autolink.html) |
Maybe I just don't see it but I don't get the reason for creating this new function doOutline. Doesn't it basically just call outline? Why can't you just add OutlinedFunctionNum to outline and then call outline in runOnModule?
Please be so kind to clarify this.
It’s possible to get greater size reduction through rerunning the outliner repeatedly. I and a couple other folks were looking into this and I noticed that much of the change could be refactored into an nfc change which is preferable.
I think that if you write this as doOutline(), Doxygen will automatically create a link to its entry on doOutline. That might be useful to people looking at the docs.
(Judging by http://www.doxygen.nl/manual/autolink.html)