diff options
author | George Burgess IV <gbiv@google.com> | 2021-07-26 23:56:45 +0000 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2021-07-28 00:51:05 +0000 |
commit | ce2a5fa72be3fd1d606505f98d3831706c28cfa8 (patch) | |
tree | 7a0a6109d097177d8de8ac9184e76d6d67dc81d8 /clang/lib/Sema/SemaInit.cpp | |
parent | 4f71f59bf3d9914188a11d0c41bedbb339d36ff5 (diff) | |
download | llvm-ce2a5fa72be3fd1d606505f98d3831706c28cfa8.zip llvm-ce2a5fa72be3fd1d606505f98d3831706c28cfa8.tar.gz llvm-ce2a5fa72be3fd1d606505f98d3831706c28cfa8.tar.bz2 |
llvm/utils: guarantee revert_checker's revert ordering
At the moment, the revert ordering from this tool is unspecified (though
it happens to be in `git log` order, so newest reverts come first).
From the standpoint of tooling and users, this seems to be the opposite
of what we want by default: tools and users will generally try to apply
these reverts as cherry-picks. If two reverts in the list are close
enough to each other, if the reverts get applied out of order, we'll get
a merge conflict.
Rather than having `reverse`s for all tools (and mental reverses for
manual users), just guarantee an oldest-first output ordering for this
function.
Differential Revision: https://reviews.llvm.org/D106838
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions