I’ve found that the main branch added a new check to check smart pointer array mismatch from this commit.
But why no for std::unique_ptr, too?
As I’ve tried replace the name in getSmartPointerClassMatcher to ::std::unique_ptr
, it seems work on Linux platform, but not for Windows. (I have no idea how to fix this problem at the moment)
Is it just because the unique_ptr still need more work to do (e.g not work on Windows) or other reasons not support unique_ptr?