[PATCH] D74125: [clangd] Set "spelled" flag for constructor references.

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 6 06:35:47 PST 2020


kadircet added inline comments.


================
Comment at: clang-tools-extra/clangd/index/SymbolCollector.cpp:597
+        bool IsTargetKind = NameKind == DeclarationName::Identifier ||
+          NameKind == DeclarationName::CXXConstructorName;
+        bool Spelled = IdentifierToken && IsTargetKind &&
----------------
drive-by: what about destructors?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74125/new/

https://reviews.llvm.org/D74125





More information about the cfe-commits mailing list