We have the following code in on of our tests *** class payload { }; { std::shared_ptr<payload> ptr; QCOMPARE(qHash(ptr), qHash(ptr.get())); } *** The fixit rewrites it to something incorrect: *** class payload { }; { size_t ptr; QCOMPARE(qHash(ptr), qHash(ptr.get())); } ***
I'm using clazy 1.12