[PATCH] D71543: [clangd] Fix handling of inline and anon namespaces in hover
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 16 05:45:36 PST 2019
kadircet created this revision.
Herald added subscribers: cfe-commits, usaxena95, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
Clangd normally skips printing of inline and anon namespaces while
printing nested name specifiers.
There was a bug causing us to print innermost inline/anon namespace, this patch
fixes that by skipping those.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71543
Files:
clang-tools-extra/clangd/AST.cpp
clang-tools-extra/clangd/Hover.cpp
clang-tools-extra/clangd/unittests/HoverTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71543.234039.patch
Type: text/x-patch
Size: 7216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191216/b4bc981e/attachment-0001.bin>
More information about the cfe-commits
mailing list