Open oontvoo opened 5 years ago
I believe that unique_ptr is already supported: https://godbolt.org/z/PMYIK6 Do you have another example where it does not work?
Please see https://godbolt.org/z/hz_jxB.
I was expecting to see warning when I deref the pointer. Perhaps I misunderstood the check?
Having read up a bit more, I've realised you assumed these are not null (unless they're explicitly set to nullptr within the function).
We see the expected warning when replacing a unique_ptr
Please add support for std::unique_ptr and std::shared_ptr!