aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2020-07-29 16:34:06 +0100
committerNathan James <n.james93@hotmail.co.uk>2020-07-29 16:35:44 +0100
commitbbc2ddecbd342d4502fe43466bd3658b89ddad7d (patch)
tree53a824ff7321fb3dc930a255102d78726421302e /llvm/lib/CodeGen/MachineVerifier.cpp
parent9ad7c980bb47edd7db8f8db828b487cc7dfc9921 (diff)
downloadllvm-bbc2ddecbd342d4502fe43466bd3658b89ddad7d.zip
llvm-bbc2ddecbd342d4502fe43466bd3658b89ddad7d.tar.gz
llvm-bbc2ddecbd342d4502fe43466bd3658b89ddad7d.tar.bz2
[clang-tidy] Handled insertion only fixits when determining conflicts.
Handle insertion fix-its when removing incompatible errors by introducting a new EventType `ET_Insert` This has lower prioirty than End events, but higher than begin. Idea being If an insert is at the same place as a begin event, the insert should be processed first to reduce unnecessary conflicts. Likewise if its at the same place as an end event, process the end event first for the same reason. This also fixes https://bugs.llvm.org/show_bug.cgi?id=46511. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D82898
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions