[PATCH] D59887: [Syntax] Introduce TokenBuffer, start clangToolingSyntax library
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 27 09:23:58 PDT 2019
ilya-biryukov created this revision.
ilya-biryukov added a reviewer: gribozavr.
Herald added subscribers: jdoerfert, mgorny.
Herald added a project: clang.
TokenBuffer stores the list of tokens for a file obtained after
preprocessing. This is a base building block for syntax trees,
see [1] for the full proposal on syntax trees.
This commits also starts a new sub-library of ClangTooling, which
would be the home for the syntax trees and syntax-tree-based refactoring
utilities.
[1]: https://lists.llvm.org/pipermail/cfe-dev/2019-February/061414.html
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D59887
Files:
clang/include/clang/Tooling/Syntax/TokenBuffer.h
clang/lib/Tooling/CMakeLists.txt
clang/lib/Tooling/Syntax/CMakeLists.txt
clang/lib/Tooling/Syntax/TokenBuffer.cpp
clang/unittests/Tooling/CMakeLists.txt
clang/unittests/Tooling/Syntax/CMakeLists.txt
clang/unittests/Tooling/Syntax/TokenBufferTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59887.192456.patch
Type: text/x-patch
Size: 41895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190327/30948d9f/attachment-0001.bin>
More information about the cfe-commits
mailing list