[PATCH] D71356: [Tooling/Syntax] Helpers to find spelled tokens touching a location.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 11 06:45:51 PST 2019


sammccall created this revision.
sammccall added reviewers: ilya-biryukov, kbobyrev.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71356

Files:
  clang/include/clang/Tooling/Syntax/Tokens.h
  clang/lib/Tooling/Syntax/Tokens.cpp
  clang/unittests/Tooling/Syntax/TokensTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71356.233354.patch
Type: text/x-patch
Size: 4191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191211/482fcb22/attachment.bin>


More information about the cfe-commits mailing list