osrm-backend/extractor
Daniel J. Hofmann 62b20769ee Modernize the code base to C++11 standards and beyond.
Apply `clang-modernize` (based on Clang 3.6) transformations to the
codebase while making sure to support Clang>=3.4 and GCC>=4.8.

We apply the transformations in parallel to speed up the quite
time consuming process, and use our `clang-format` style file
to automatically format the code respecting our coding conventions.

We use the following self-explanatory transformations:

* AddOverride
* LoopConvert
* PassByValue
* ReplaceAutoPtr
* UseAuto
* UseNullptr

This required a `compile_commands.json` compilation database, e.g.

    ccmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=1

for CMake or check Bear for a Makefile based solution (or even Ninja).

    git ls-files -x '*.cpp|*.h' | \
      xargs -I{} -P $(nproc) clang-modernize -p build -final-syntax-check -format -style=file -summary -for-compilers=clang-3.4,gcc-4.8 -include . -exclude third_party {}

Boom!

References:

* http://clang.llvm.org/extra/clang-modernize.html
* http://clang.llvm.org/extra/ModernizerUsage.html
2015-08-18 12:56:34 +02:00
..
extraction_containers.cpp Warn if an edge references a missing node 2015-08-14 23:57:01 +02:00
extraction_containers.hpp Fix magic number check for fingerprint 2015-06-19 17:51:35 +02:00
extraction_helper_functions.hpp First step into overhauling the edge storage 2015-06-01 17:22:12 +02:00
extraction_node.hpp change copyright line from personal names to project 2015-02-19 09:19:51 +01:00
extraction_way.hpp Remove unused memebers and rename to currrent style convention 2015-07-01 18:07:29 +02:00
extractor_callbacks.cpp Remove unused memebers and rename to currrent style convention 2015-07-01 18:07:29 +02:00
extractor_callbacks.hpp Move string_map inside external_callbacks 2015-04-21 20:00:58 +02:00
extractor_options.cpp First step into overhauling the edge storage 2015-06-01 17:22:12 +02:00
extractor_options.hpp First step into overhauling the edge storage 2015-06-01 17:22:12 +02:00
extractor.cpp First step into overhauling the edge storage 2015-06-01 17:22:12 +02:00
extractor.hpp Modernize the code base to C++11 standards and beyond. 2015-08-18 12:56:34 +02:00
first_and_last_segment_of_way.hpp change copyright line from personal names to project 2015-02-19 09:19:51 +01:00
internal_extractor_edge.hpp Modernize the code base to C++11 standards and beyond. 2015-08-18 12:56:34 +02:00
restriction_parser.cpp Return error message when lua error occurs. 2015-05-21 15:39:23 -07:00
restriction_parser.hpp Updated restriction parser doc 2015-04-21 20:00:58 +02:00
scripting_environment.cpp Remove unused memebers and rename to currrent style convention 2015-07-01 18:07:29 +02:00
scripting_environment.hpp Add documentation to ScriptingEnvironment 2015-04-21 20:00:58 +02:00