From 267c6f2ac71f92999e969232431ba04678e7437e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:54:39 +0200 Subject: Adding upstream version 4:24.2.0. Signed-off-by: Daniel Baumann --- solenv/clang-format/README | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 solenv/clang-format/README (limited to 'solenv/clang-format/README') diff --git a/solenv/clang-format/README b/solenv/clang-format/README new file mode 100644 index 0000000000..fc3a8be91b --- /dev/null +++ b/solenv/clang-format/README @@ -0,0 +1,35 @@ +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 -- cgit v1.2.3