1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00
BadFish/src
Marco Costalba c3e964f35e Run clang-tidy 'modernize'
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.
2017-08-13 05:46:21 -07:00
..
syzygy Run clang-tidy 'modernize' 2017-08-13 05:46:21 -07:00
benchmark.cpp Fix some races and clarify the code 2017-08-10 10:19:56 -07:00
bitbase.cpp Retire the misdesigned StepAttacks[] array. 2017-04-28 20:33:30 -07:00
bitboard.cpp Indentation fix in index() 2017-07-02 22:00:29 -07:00
bitboard.h Indentation fix in index() 2017-07-02 22:00:29 -07:00
endgame.cpp Fix the handling of opposite bishops in KXK endgame evaluation 2017-08-12 02:47:11 -07:00
endgame.h Run clang-tidy 'modernize' 2017-08-13 05:46:21 -07:00
evaluate.cpp Tidy up 2017-07-02 21:53:45 -07:00
evaluate.h Improve readability of evaluation functions 2017-06-21 14:01:59 -07:00
main.cpp Thread code reformat 2017-08-13 04:41:59 -07:00
Makefile Revert "Remove questionable gcc flags from profile-build" 2017-07-13 16:36:27 -07:00
material.cpp Move game_phase() to material.cpp 2017-07-15 07:28:38 +02:00
material.h Reorder members of Material::Entry 2017-02-23 21:33:03 -08:00
misc.cpp Run clang-tidy 'modernize' 2017-08-13 05:46:21 -07:00
misc.h Fix pawn entry prefetch 2017-03-14 20:56:26 -07:00
movegen.cpp Retire the misdesigned StepAttacks[] array. 2017-04-28 20:33:30 -07:00
movegen.h Use int instead of Value for history related stats. 2017-04-23 07:59:28 -07:00
movepick.cpp Unify scoring functions in MovePicker 2017-08-10 02:06:21 -07:00
movepick.h Remove Stack/thread dependence in movepick 2017-08-06 01:45:54 -07:00
pawns.cpp Tweak connected pawns seed[] array values 2017-08-01 18:41:29 -07:00
pawns.h Adjust copyright headers to 2017 (#965) 2017-01-11 08:46:29 +01:00
position.cpp Move game_phase() to material.cpp 2017-07-15 07:28:38 +02:00
position.h Retire States global variable 2017-08-12 23:54:48 -07:00
psqt.cpp Tuned PSQT using a custom tuner. 2017-07-23 17:35:44 -07:00
search.cpp Run clang-tidy 'modernize' 2017-08-13 05:46:21 -07:00
search.h Re-apply the fix for Limits::ponder race 2017-08-10 12:47:31 -07:00
thread.cpp Thread code reformat 2017-08-13 04:41:59 -07:00
thread.h Run clang-tidy 'modernize' 2017-08-13 05:46:21 -07:00
thread_win32.h Adjust copyright headers to 2017 (#965) 2017-01-11 08:46:29 +01:00
timeman.cpp Adjust copyright headers to 2017 (#965) 2017-01-11 08:46:29 +01:00
timeman.h Adjust copyright headers to 2017 (#965) 2017-01-11 08:46:29 +01:00
tt.cpp Adjust copyright headers to 2017 (#965) 2017-01-11 08:46:29 +01:00
tt.h Adjust copyright headers to 2017 (#965) 2017-01-11 08:46:29 +01:00
types.h Rework the "unsupported" penalty into a "supported" bonus 2017-08-01 18:37:54 -07:00
uci.cpp Retire States global variable 2017-08-12 23:54:48 -07:00
uci.h Adjust copyright headers to 2017 (#965) 2017-01-11 08:46:29 +01:00
ucioption.cpp Thread code reformat 2017-08-13 04:41:59 -07:00