[PATCH] D77209: [Syntax] Add mapping from spelled to expanded tokens for TokenBuffer

Marcel Hlopko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 04:24:51 PDT 2020


hlopko created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Same restrictions apply as in the other direction: macro arguments are
not supported yet, only full macro expansions can be mapped.

Taking over from https://reviews.llvm.org/D72581.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77209

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: D77209.254157.patch
Type: text/x-patch
Size: 11664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200401/d3351e3c/attachment-0001.bin>


More information about the cfe-commits mailing list