[PATCH] D70512: [clangd] Rethink how SelectionTree deals with macros and #includes.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 27 03:27:11 PST 2019


sammccall updated this revision to Diff 231206.
sammccall added a comment.

Rewrote patch with a better approach (claiming expanded tokens rather than spelled).
Added more tests, including one showing a problem with multiple arg expansion.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70512

Files:
  clang-tools-extra/clangd/Selection.cpp
  clang-tools-extra/clangd/Selection.h
  clang-tools-extra/clangd/unittests/SelectionTests.cpp
  clang-tools-extra/clangd/unittests/TweakTests.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: D70512.231206.patch
Type: text/x-patch
Size: 30143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191127/b35b1957/attachment-0001.bin>


More information about the cfe-commits mailing list