[analyzer] Enhancement for modernize-make-unique check

I did write simple matcher, which match case from example. But my matcher is different and looks like this:

hasType(pointsTo(cxxRecordDecl(isDerivedFrom(hasName("Base"))))))

And this matches my example. Also I tried to write check like

hasType(pointsTo(cxxRecordDecl(isDerivedFrom(hasType(type(
equalsBoundNode(PointerType))))))))

But this code has compilation errors (I have no access to the logs right now, but it's something with incorrect work with polymorphic types).

1/3/2019 3:07 PM, Jonas Toth пишет: