[clazy] [Bug 392224] Improve check "qstring-allocations". Replace QString::setNum with static version QString::number

Sergio Martins bugzilla_noreply at kde.org
Wed Mar 28 22:18:40 BST 2018


https://bugs.kde.org/show_bug.cgi?id=392224

Sergio Martins <smartins at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Sergio Martins <smartins at kde.org> ---
Tested with heaptrack, they are completely the same, regarding allocations, so
not good for qstring-allocations.

Maybe could have some readability advantage though, but too thin for its own
check, as each check adds overhead

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list