D14956: avoid any heap allocation for default constructed Format() as used as "invalid"
noreply at phabricator.kde.org
Mon Aug 20 20:10:19 BST 2018
cullmann created this revision.
cullmann added a reviewer: vkrause.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
cullmann requested review of this revision.
Format() is used as invalid return value in some places.
At the moment that does at least one heap allocation.
Now only for formats loaded from the XML a heap allocation is done
make && make test
R216 Syntax Highlighting
To: cullmann, vkrause
Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel