From: Philippe Proulx Date: Tue, 2 May 2023 18:35:26 +0000 (-0400) Subject: Change required clang-format version to 15 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=1d323849ed535c2d7457338369068a89268e88ff Change required clang-format version to 15 No changes between clang-format 14 and 15 when running `tools/format-cpp`. Signed-off-by: Philippe Proulx Change-Id: Iae32e88a60f8104535f0a9163dfd1d7dc59d23be Reviewed-on: https://review.lttng.org/c/babeltrace/+/9945 --- diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index 069e08aa..a99fae13 100644 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -1674,7 +1674,7 @@ https://clang.llvm.org/docs/ClangFormatStyleOptions.html[style] of the You _must_ format modified and new {cpp} files with clang-format before you create a contribution patch. -You need clang-format{nbsp}14 to use the project's `.clang-format` file. +You need clang-format{nbsp}15 to use the project's `.clang-format` file. To automatically format all the project's {cpp} files, run: diff --git a/tools/format-cpp b/tools/format-cpp index 56064ce0..98e901aa 100755 --- a/tools/format-cpp +++ b/tools/format-cpp @@ -4,7 +4,7 @@ # # Copyright (C) 2020-2022 Philippe Proulx -expected_formatter_major_version=14 +expected_formatter_major_version=15 # Runs the formatter, making sure it's the expected version. format_cpp() {