HomePhabricator

[libTooling] Change `after` range-selector to operate only on source ranges

Authored by ymandel on Oct 15 2020, 7:32 AM.

Description

[libTooling] Change after range-selector to operate only on source ranges

Currently, after fails when applied to locations in macro arguments. This
change projects the subrange into a file source range and then applies after.

Differential Revision: https://reviews.llvm.org/D89468