Style enforcing code.
== How to reproduce the binaries at ==
- Linux:
- Built from source on openSUSE Leap 42.3
- get
- get and extract this as tools/clang/ in the LLVM source code
- mkdir workdir; cd workdir; cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=$PWD/../instdir -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_STATIC=true ..; make -j8 clang-format
- this produces a binary that is statically linked
- macOS:
- provides a portable binary already
- Windows:
- provides a portable binary already
== Directory contents ==
- excludelist: list of existing files not to be formatted:
- if you rename a file mentioned in this list, please update the entry (and
keep the file sorted)
- check-last-commit: this is used during gerrit / jenkins verification
- ClangFormat.pm: shared code between the git hook and these scripts
- generate-style-excludelist: was used to generate `excludelist`
- reformat-formatted-files: run this script in case the style config changes or
clang-format version is updated