Resolves: tdf#149408 inspector crash with a writer OLE inside calc
[LibreOffice.git] / solenv / clang-format / README
blobfc3a8be91bd6e9f72c756c85392ea59aa886cb99
1 Style enforcing code.
3 == How to reproduce the binaries at <https://dev-www.libreoffice.org/bin/> ==
5 - Linux:
7   - Built from source on openSUSE Leap 42.3
8   - get <http://releases.llvm.org/5.0.0/llvm-5.0.0.src.tar.xz>
9   - get <http://releases.llvm.org/5.0.0/cfe-5.0.0.src.tar.xz>  and extract this as tools/clang/ in the LLVM source code
10   - 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
11   - this produces a binary that is statically linked
13 - macOS:
15   - <http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-x86_64-apple-darwin.tar.xz> provides a portable binary already
17 - Windows:
19   - <http://releases.llvm.org/5.0.0/LLVM-5.0.0-win32.exe> provides a portable binary already
21 == Directory contents ==
23 - excludelist: list of existing files not to be formatted:
25   - if you rename a file mentioned in this list, please update the entry (and
26     keep the file sorted)
28 - check-last-commit: this is used during gerrit / jenkins verification
30 - ClangFormat.pm: shared code between the git hook and these scripts
32 - generate-style-excludelist: was used to generate `excludelist`
34 - reformat-formatted-files: run this script in case the style config changes or
35   clang-format version is updated