[clazy] [Bug 499309] New: qt6-qhash-signature rewrites type of parameter instead of return value
Richard
bugzilla_noreply at kde.org
Thu Jan 30 08:29:08 GMT 2025
https://bugs.kde.org/show_bug.cgi?id=499309
Bug ID: 499309
Summary: qt6-qhash-signature rewrites type of parameter instead
of return value
Classification: Developer tools
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: richard.oehlinger at adbsafegate.com
CC: smartins at kde.org
Target Milestone: ---
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()));
}
***
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list