* typified a bit of map.h/cpp + some dependents
* Macro crasher found by one compiler!
* demanded changes
* stupid wokaround for demanded changes
* Sort out conflict mess
This clang-tidy check looks for potentially-expensive-to-copy value
parameters which are only used as const values.
If they are only used once, in an assignment or initialization, then
their use will be converted to std::move. This can save a copy in some
cases.
Otherwise, the parameter will be converted to a const reference, which
can also save a copy in some cases.
Generally speaking, we don't want large functions in headers. They
increase compile time, not just because the function itself is compiled
many times over but also because they need extra headers to be included.
Using a new clang-tidy check (added in the next commit) find all
functions in headers with more than five statements, and move them into
cpp files.
Also, some static functions in cpp files were marked inline. This
serves no real purpose; the compiler will already do a good job of
inlining static functions, so stop that.
* Change _ctype.h and __locale to cctype and clocale
* Change _wctype.h to cwctype in game.cpp
* Change __functional_base to functional
* Remove libcxx internal headers
* Remove UNIX system headers
* Fix clang-tidy error with -nostdinc++
* introduce `map_test_case`: a framework that simplifies tile-setting tests
refactor vision_test.cpp using `map_test_case` framework
add new vision test with thick smoke
* fix clang-tidy warnings
* another clang-tidy fix
* remove mutations that potentially affect vision
* narrow the scope of the overloaded operators