This is an archive of the discontinued LLVM Phabricator instance.

[SourceLocations] Use stronger sort predicate to remove non-deterministic ordering
ClosedPublic

Authored by mgrang on Nov 29 2017, 12:01 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

mgrang created this revision.Nov 29 2017, 12:01 PM
mgrang added inline comments.
tools/libclang/CIndex.cpp
1028 ↗(On Diff #124798)

Also removed the assert from here since isBeforeInTranslationUnit already has the same assert.

arphaman accepted this revision.Nov 29 2017, 12:39 PM
arphaman added a subscriber: arphaman.

Thanks, LGTM

This revision is now accepted and ready to land.Nov 29 2017, 12:39 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.