[PATCH] D65101: [clangd] SelectionTree treats TranslationUnitDecl consistently with other containers.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 24 03:35:26 PDT 2019
sammccall updated this revision to Diff 211458.
sammccall added a comment.
Reverted commonAncestor() back to a pointer, return null if ancestor is TUDecl.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65101/new/
https://reviews.llvm.org/D65101
Files:
clang-tools-extra/clangd/Selection.cpp
clang-tools-extra/clangd/Selection.h
clang-tools-extra/clangd/refactor/tweaks/DumpAST.cpp
clang-tools-extra/clangd/unittests/SelectionTests.cpp
clang-tools-extra/clangd/unittests/TweakTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65101.211458.patch
Type: text/x-patch
Size: 8567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190724/1b14918c/attachment.bin>
More information about the cfe-commits
mailing list