[PATCH] D72638: [clangd] Fix rename for explicit destructor calls
Kirill Bobyrev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 17 08:55:21 PST 2020
kbobyrev added inline comments.
================
Comment at: clang-tools-extra/clangd/unittests/FindTargetTests.cpp:882
"10: targets = {ns}\n"},
+ // CXX Constructor, destructor and operators.
+ {R"cpp(
----------------
hokein wrote:
> could we simplify the newly-added test? I think a test only for explicit destructor calls is sufficient, I think.
>
> ```
> void foo () {
> class Foo { ~Foo(); };
> Foo f;
> f.~Foo();
> }
> ```
Simplified the test a bit. I don't think it hurts to have more coverage though (if this is not duplication).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72638/new/
https://reviews.llvm.org/D72638
More information about the cfe-commits
mailing list