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-b...@kde.org
          Reporter: richard.oehlin...@adbsafegate.com
                CC: smart...@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 watching all bug changes.

Reply via email to