[all-commits] [llvm/llvm-project] f0ab33: [Syntax] expose API for expansions overlapping a s...
Sam McCall via All-commits
all-commits at lists.llvm.org
Mon Jul 20 05:48:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f0ab336e745505f3bb7e8570f12937cf0fbc11aa
https://github.com/llvm/llvm-project/commit/f0ab336e745505f3bb7e8570f12937cf0fbc11aa
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-07-20 (Mon, 20 Jul 2020)
Changed paths:
M clang/include/clang/Tooling/Syntax/Tokens.h
M clang/lib/Tooling/Syntax/Tokens.cpp
M clang/unittests/Tooling/Syntax/TokensTest.cpp
Log Message:
-----------
[Syntax] expose API for expansions overlapping a spelled token range.
Summary:
This allows efficiently accessing all expansions (without iterating over each
token and searching), and also identifying tokens within a range that are
affected by the preprocessor (which is how clangd will use it).
Subscribers: ilya-biryukov, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D84009
More information about the All-commits
mailing list