This is an archive of the discontinued LLVM Phabricator instance.

Add unit tests for RangeDataVector::FindEntryIndexesThatContain
ClosedPublic

Authored by unnar on Feb 26 2020, 7:22 AM.

Details

Summary

This adds unit tests for FindEntryIndexesThatContain, this is done in preparation for changing the logic of the function.

Diff Detail

Event Timeline

unnar created this revision.Feb 26 2020, 7:22 AM
labath accepted this revision.Feb 26 2020, 7:26 AM

Thanks for doing this. Are you able to commit this yourself ?

lldb/unittests/Utility/RangeMapTest.cpp
23

This doesn't look right. Could you run clang-format over this?

This revision is now accepted and ready to land.Feb 26 2020, 7:26 AM
unnar updated this revision to Diff 246721.Feb 26 2020, 7:30 AM
unnar marked 2 inline comments as done.Feb 26 2020, 7:33 AM

No, I can't. If you could submit this for me it would be great.

lldb/unittests/Utility/RangeMapTest.cpp
23

I'm not sure what happened there while splitting up the patch but it's fixed. (I will also set up a pre-commit hook for clang-format so that it should stop this from happening going forward)

labath added inline comments.Feb 26 2020, 7:43 AM
lldb/unittests/Utility/RangeMapTest.cpp
23

That's ok. Don't worry about it.

This revision was automatically updated to reflect the committed changes.