[PATCH] D52308: [Sema][CodeCompletion] Fix return type of C++ destructors in code completion

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 20 08:47:56 PDT 2018


sammccall added a comment.

When you're *calling* a destructor, I believe the expression does have type void. Are we sure this is incorrect?

Calling a destructor is really unusual though. IIRC we decided to just not show them in clangd in member context (maybe this is broken or was never implemented, though).


Repository:
  rC Clang

https://reviews.llvm.org/D52308





More information about the cfe-commits mailing list