]> git.sesse.net Git - stockfish/commitdiff
Run clang-tidy 'modernize'
authorMarco Costalba <mcostalba@gmail.com>
Sun, 13 Aug 2017 12:33:25 +0000 (05:33 -0700)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 13 Aug 2017 12:46:21 +0000 (05:46 -0700)
Some warnings after a run of:

$ clang-tidy-3.8 -checks='modernize-*' *.cpp syzygy/*.cpp -header-filter=.* -- -std=c++11

I have not fixed all suggestions, for instance I still prefer
to declare the type instead of a spread use of 'auto'. I also
perfer good old 'typedef' to the new 'using' form.

I have not fixed some warnings in the last functions of
syzygy code because those are still the original functions
and need to be completely rewritten anyhow.

Thanks to erbsenzaehler for the original idea.

No functional change.


No differences found