CLion doesn't detect class usage with custom memory pool
With custom memory pool CLion doen't detect class usage and suggests to delete it.
class XXX {...};
....
XXX* p = new (MemPool) XXX(); // CLion doesn't detect this class usage
I've submitted a request, but now this URL shows me 404: https://intellij-support.jetbrains.com/hc/requests/797340
请先登录再写评论。
Hi Tobo.
I can't reproduce the issue on the simple example:
Please provide a full example so we could reproduce the issue on our side.
It appeared that problem is not in custom memory pool. I was able to repro the issue in a smaller sample:
Header file: testclass.h
Source file:
"MyClass" is marked as unused, although it IS used in "CreateClass" function