HomePhabricator

[libTooling] Add parser for string representation of `RangeSelector`.

Authored by ymandel on Jun 15 2020, 12:23 PM.

Description

[libTooling] Add parser for string representation of RangeSelector.

This patch adds a parser for a RangeSelector written as a string. The format
is closely based on the way one would right the selector in C++. This should
enable use of RangeSelectors from tools like clang-query and web UIs.