office-gobmx/solenv/clang-format
Tomaž Vajngerl 24f7dd6251 move and extend primitive2dxmldump to drawinglayer
Also needs extending the XmlWriter to output double numbers as
the attribute content.

Change-Id: Ie749ea990d856c8c90092ed8153c24efda99c444
Reviewed-on: https://gerrit.libreoffice.org/67573
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2019-02-09 11:58:06 +01:00
..
blacklist move and extend primitive2dxmldump to drawinglayer 2019-02-09 11:58:06 +01:00
check-last-commit
ClangFormat.pm
generate-style-blacklist
README
reformat-formatted-files

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 ==

- blacklist: 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-blacklist: was used to generate `blacklist`

- reformat-formatted-files: run this script in case the style config changes or
  clang-format version is updated