[PATCH] D136248: [Index] consider `delete X` a reference to ~X() if it can be resolved

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 20 09:02:56 PDT 2022


ilya-biryukov added a comment.

Sorry for chiming in, left a comment on GitHub <https://github.com/clangd/clangd/issues/1321>. 
TLDR; destructors are easy to find and this is not the case for user-defined `operator delete`. Maybe this is a good reason to have `operator delete` references (either instead of in addition to destructors)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136248



More information about the cfe-commits mailing list