D24403: Small performance improvements suggested by clang-tidy

Albert Astals Cid noreply at phabricator.kde.org
Fri Oct 4 09:30:38 BST 2019


aacid planned changes to this revision.
aacid added inline comments.

INLINE COMMENTS

> modebase.cpp:333
> -
> -    QRegExp endOfWORD(endOfWORDPattern);
>  

This is wrong, QRegExp is broken and lastIndexIn modifies the object even if the function is marked as const

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D24403

To: aacid
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20191004/30b019ed/attachment-0001.html>


More information about the KWrite-Devel mailing list