[PATCH] D59887: [Syntax] Introduce TokenBuffer, start clangToolingSyntax library

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 26 07:23:05 PDT 2019


ilya-biryukov updated this revision to Diff 196847.
ilya-biryukov added a comment.

- s/llvm::unittest::ValueIs/llvm::ValueIs.
- Add tests for empty macro expansions and directives around macro expansions.
- Record all gaps between spelled and expanded tokens.
- Tweak test dump to distinguish different tokens with the same spelling.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59887/new/

https://reviews.llvm.org/D59887

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59887.196847.patch
Type: text/x-patch
Size: 53382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190426/caa909de/attachment-0001.bin>


More information about the cfe-commits mailing list