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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits