[clazy] [Bug 357966] MSVC does not support QStringLiteral with multi-string initializer

Sergio Martins via KDE Bugzilla bugzilla_noreply at kde.org
Thu Jan 14 23:54:09 GMT 2016


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

Sergio Martins <smartins at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/claz
                   |                            |y/9c1458765dbdad21739cbe2b9
                   |                            |154667657d2352e
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from Sergio Martins <smartins at kde.org> ---
Git commit 9c1458765dbdad21739cbe2b9154667657d2352e by Sergio Martins.
Committed on 14/01/2016 at 23:49.
Pushed by smartins into branch 'master'.

qstring-uneeded-heap-allocations: Improve msvc compat

Now we don't warn when using multi token literals like:
QString s = "foo" "bar";

because MSVC is dumb

M  +19   -2    checks/qstringuneededheapallocations.cpp
M  +8    -8    tests/qstring-uneeded-heap-allocations/main.cpp
M  +0    -3    tests/qstring-uneeded-heap-allocations/main.cpp.expected
M  +8    -8   
tests/qstring-uneeded-heap-allocations/main.cpp_fixed.cpp.expected
M  +13   -0    tests/qstring-uneeded-heap-allocations/msvc-compat.cpp
M  +13   -0   
tests/qstring-uneeded-heap-allocations/msvc-compat.cpp_fixed.cpp.expected
M  +12   -0    tests/qstring-uneeded-heap-allocations/no-msvc-compat.cpp
M  +5    -0   
tests/qstring-uneeded-heap-allocations/no-msvc-compat.cpp.expected
M  +12   -0   
tests/qstring-uneeded-heap-allocations/no-msvc-compat.cpp_fixed.cpp.expected

http://commits.kde.org/clazy/9c1458765dbdad21739cbe2b9154667657d2352e

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



More information about the Unassigned-bugs mailing list