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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D74125
[clangd] Set "spelled" flag for constructor references. ClosedPublic Authored by hokein on Feb 6 2020, 6:07 AM.
Details Summary DeclarationName for cxx constructor is special, it is not an identifier.
Diff Detail
Event Timeline
kbobyrev added inline comments. This revision is now accepted and ready to land.Feb 6 2020, 6:35 AM Closed by commit rGca9fd22adb5a: [clangd] Set "spelled" flag for constructor references. (authored by hokein). · Explain WhyFeb 6 2020, 8:06 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 242911 clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/clangd/index/SymbolID.h
clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
|
drive-by: what about destructors?