This is an archive of the discontinued LLVM Phabricator instance.

[libTooling] Fix `maybeExtendRange` to support `CharRange`s.
ClosedPublic

Authored by ymandel on Jun 30 2020, 11:43 AM.

Details

Summary

Currently, maybeExtendRange takes a CharSourceRange, but only works
correctly for the TokenRange case. This change adds proper support for the
CharRange case.

Diff Detail

Event Timeline

ymandel created this revision.Jun 30 2020, 11:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2020, 11:43 AM
gribozavr2 accepted this revision.Jul 1 2020, 11:44 AM
This revision is now accepted and ready to land.Jul 1 2020, 11:44 AM
This revision was automatically updated to reflect the committed changes.