lp:~aacid/unity8/clazy_run2

Created by Albert Astals Cid and last modified
Get this branch:
bzr branch lp:~aacid/unity8/clazy_run2
Only Albert Astals Cid can upload to this branch. If you are Albert Astals Cid please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Albert Astals Cid
Project:
Unity 8
Status:
Merged

Recent revisions

1965. By Albert Astals Cid

QLatin1Char++

1964. By Albert Astals Cid

Make it const too just to make it nicer

1963. By Albert Astals Cid

Clazy fixes

Wrap a const char * in QStringLiteral
Do not call first() on non const lists since it detaches

1962. By Albert Astals Cid

Merge

1961. By Albert Astals Cid

Merge

1960. By Albert Astals Cid

Merge unity8

1959. By Albert Astals Cid

This is not latin1 so can't use QLatin1String

1958. By Albert Astals Cid

Some other fixlets forgotten

1957. By Albert Astals Cid

Forgot to commit this change

1956. By Albert Astals Cid

Improvements from running clazy over the code

* Use QStringLiterals for literals
* Use QHash on pointers instead of QMap (since the ordering there can't matter)
* Add some QLatin1Strings
* Add some reserve() calls
* Change a QList to QVector since QList is not optimal on big items
* Add some const &

clazy: https://quickgit.kde.org/?p=clazy.git
Ignored tests folder

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:unity8
This branch contains Public information 
Everyone can see this information.