[PATCH] D70236: [AST] Use written names instead of `type-param-0-0` in more cases when printing types and decls.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 14 05:30:22 PST 2019
sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous, ilya-biryukov.
Herald added a project: clang.
This doesn't cover decls in diagnostics, which use NamedDecl::getNameForDiagnostic().
(That should also be fixed later I think).
This covers some cases of https://github.com/clangd/clangd/issues/76
(hover, but not outline or sighelp)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70236
Files:
clang-tools-extra/clangd/unittests/FindTargetTests.cpp
clang-tools-extra/clangd/unittests/XRefsTests.cpp
clang/lib/AST/DeclPrinter.cpp
clang/test/Index/print-display-names.cpp
clang/unittests/AST/DeclPrinterTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70236.229287.patch
Type: text/x-patch
Size: 7639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191114/4335bf89/attachment.bin>
More information about the cfe-commits
mailing list