This is an archive of the discontinued LLVM Phabricator instance.

[clang-tblgen] Fix non-determinism in generating AttributeReference.rst
ClosedPublic

Authored by ikudrin on Nov 9 2021, 3:24 AM.

Details

Summary

As for now, the categories are printed in an arbitrary order which depends on the addresses of dynamically allocated objects. The patch sorts them in an alphabetical order thus making the output stable.

Diff Detail

Event Timeline

ikudrin created this revision.Nov 9 2021, 3:24 AM
ikudrin requested review of this revision.Nov 9 2021, 3:24 AM
aaron.ballman accepted this revision.Nov 9 2021, 5:25 AM

LGTM, thank you for the fix!

This revision is now accepted and ready to land.Nov 9 2021, 5:25 AM
This revision was landed with ongoing or failed builds.Nov 9 2021, 7:09 PM
This revision was automatically updated to reflect the committed changes.