[Tooling/Syntax] Helpers to find spelled tokens touching a location.
authorSam McCall <sam.mccall@gmail.com>
Wed, 11 Dec 2019 14:40:23 +0000 (15:40 +0100)
committerSam McCall <sam.mccall@gmail.com>
Fri, 13 Dec 2019 15:57:03 +0000 (16:57 +0100)
commit22f81250889b2e366187ee1465ba0ec71a6e457d
tree40589233983328e747e3772efb1bf7849945db31
parent0eb0992739189dba0d86af33722bc27260a9b555
[Tooling/Syntax] Helpers to find spelled tokens touching a location.

Summary: Useful when positions are used to target nodes, with before/after ambiguity.

Reviewers: ilya-biryukov, kbobyrev

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71356
clang/lib/Tooling/Syntax/Tokens.cpp