office-gobmx/solenv/clang-format
Ilmari Lauhakangas de3baea91f Drop vcl/win/gdi/dw-extra.h after baseline bump
Change-Id: Ib303b35837fd73cc3dea77e5095f6d00c9dfa1bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178082
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-12-08 15:32:05 +01:00
..
check-last-commit Revert "check-last-commit: more detailed advice on using clang-format" 2023-02-10 08:12:26 +00:00
ClangFormat.pm replace usage of blacklist with denylist 2020-07-10 01:34:54 +02:00
excludelist Drop vcl/win/gdi/dw-extra.h after baseline bump 2024-12-08 15:32:05 +01:00
generate-style-excludelist replace usage of blacklist with denylist 2020-07-10 01:34:54 +02:00
README replace usage of blacklist with denylist 2020-07-10 01:34:54 +02:00
reformat-formatted-files Propagate clang-format failure from reformat-formatted-files 2020-08-05 11:51:44 +02:00
remove_not_existent_files_from_clang_excludelist tdf#123936 Remove nonexisting files from excludelist. 2020-11-06 21:05:22 +01:00

Style enforcing code.

== How to reproduce the binaries at <https://dev-www.libreoffice.org/bin/> ==

- Linux:

  - Built from source on openSUSE Leap 42.3
  - get <http://releases.llvm.org/5.0.0/llvm-5.0.0.src.tar.xz>
  - 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
  - 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:

  - <http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-x86_64-apple-darwin.tar.xz> provides a portable binary already

- Windows:

  - <http://releases.llvm.org/5.0.0/LLVM-5.0.0-win32.exe> 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