llvm-project/clang/lib/Tooling/Syntax
Johan Vikstrom 6687fde07a [Syntax] Added function to get macro expansion tokens to TokenBuffer.
Summary:
Returns the first token in every mapping where the token is an identifier.
This API is required to be able to highlight macro expansions in clangd.

Reviewers: hokein, ilya-biryukov

Subscribers: kadircet, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66470

llvm-svn: 369385
2019-08-20 13:34:01 +00:00
..
BuildTree.cpp [Syntax] Do not add a node for 'eof' into the tree 2019-08-06 17:07:58 +00:00
CMakeLists.txt Reland r365355: [Syntax] Introduce syntax trees 2019-07-09 11:32:13 +00:00
Nodes.cpp [Syntax] Move roles into a separate enum 2019-07-09 13:31:43 +00:00
Tokens.cpp [Syntax] Added function to get macro expansion tokens to TokenBuffer. 2019-08-20 13:34:01 +00:00
Tree.cpp [Syntax] Move roles into a separate enum 2019-07-09 13:31:43 +00:00