[all-commits] [llvm/llvm-project] ca9fd2: [clangd] Set "spelled" flag for constructor refere...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Thu Feb 6 08:01:41 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ca9fd22adb5a633429ea85d2d62e5414ca35ab11
https://github.com/llvm/llvm-project/commit/ca9fd22adb5a633429ea85d2d62e5414ca35ab11
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2020-02-06 (Thu, 06 Feb 2020)
Changed paths:
M clang-tools-extra/clangd/index/SymbolCollector.cpp
M clang-tools-extra/clangd/index/SymbolID.h
M clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
Log Message:
-----------
[clangd] Set "spelled" flag for constructor references.
Summary:
DeclarationName for cxx constructor is special, it is not an identifier.
thus the "Spelled" flag are not set for all ctor references, this patch
fixes it.
Reviewers: kbobyrev
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D74125
More information about the All-commits
mailing list