[PATCH] D99086: [clang][Syntax] Optimize expandedTokens for token ranges.
Utkarsh Saxena via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 24 10:48:55 PDT 2021
usaxena95 updated this revision to Diff 333045.
usaxena95 marked 6 inline comments as done.
usaxena95 edited the summary of this revision.
usaxena95 added a comment.
Herald added a subscriber: arphaman.
Herald added a project: clang-tools-extra.
Made the optimization an 'opt-in'.
Created `TokenBuffer::indexExpandedToken()` for creating the index.
Made some more measurements on other files. Added to description.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99086/new/
https://reviews.llvm.org/D99086
Files:
clang-tools-extra/clangd/ParsedAST.cpp
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: D99086.333045.patch
Type: text/x-patch
Size: 4804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210324/a2d9dcfe/attachment.bin>
More information about the cfe-commits
mailing list