[PATCH] D59640: [clangd] Add TemplateArgumentList into Symbol
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 21 06:47:09 PDT 2019
kadircet created this revision.
kadircet added reviewers: ioeric, ilya-biryukov, gribozavr.
Herald added subscribers: cfe-commits, jdoerfert, arphaman, jkorous, MaskRay.
Herald added a project: clang.
Part of re-landing rC356541 <https://reviews.llvm.org/rC356541> with D59599 <https://reviews.llvm.org/D59599>. Changes the way we store
template arguments, previous patch was storing them inside Name field of Symbol.
Which was violating the assumption:
Symbol::Scope+Symbol::Name == clang::clangd::printQualifiedName
which was made in multiple places inside codebase. This patch instead moves
those arguments into their own field. Currently the field is meant to be
human-readable, can be made structured if need be.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D59640
Files:
clang-tools-extra/clangd/index/Serialization.cpp
clang-tools-extra/clangd/index/Symbol.h
clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/unittests/clangd/SymbolCollectorTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59640.191679.patch
Type: text/x-patch
Size: 8200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190321/c4b5c120/attachment-0001.bin>
More information about the cfe-commits
mailing list