[clazy] [Bug 353807] qstring-uneeded-heap-allocations: Fix cases where MSVC doesn't support QStringLiteral
Sergio Martins via KDE Bugzilla
bugzilla_noreply at kde.org
Fri Nov 6 20:05:26 GMT 2015
https://bugs.kde.org/show_bug.cgi?id=353807
Sergio Martins <smartins at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/claz
| |y/93ca863d1e6705192f3884bd6
| |1f21e70cf0d8223
Status|CONFIRMED |RESOLVED
--- Comment #1 from Sergio Martins <smartins at kde.org> ---
Git commit 93ca863d1e6705192f3884bd61f21e70cf0d8223 by Sergio Martins.
Committed on 06/11/2015 at 20:04.
Pushed by smartins into branch 'master'.
qstring-uneeded-heap-allocations: Add msvc-compat option
If set then QStringLiteral won't be used when inside initializer lists
Such as static QStringList list = {"foo"}, because it crashes the compiler
M +4 -0 checks/README-qstring-uneeded-heap-allocations
M +14 -0 checks/qstringuneededheapallocations.cpp
M +4 -0 checks/qstringuneededheapallocations.h
M +4 -1 tests/qstring-uneeded-heap-allocations/fixed_main.expected
M +4 -0 tests/qstring-uneeded-heap-allocations/main.cpp
M +2 -0 tests/qstring-uneeded-heap-allocations/test.expected
http://commits.kde.org/clazy/93ca863d1e6705192f3884bd61f21e70cf0d8223
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list