From 5ce9818ba4e76858b2ef12c81ba75c1306f195d3 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 21 Jul 2022 20:36:08 -0400 Subject: [PATCH] Change required clang-format version to 14 Change-Id: Idb1fc10f0d3c60043c0238e5f8c4283d57c6f90f Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/8601 Tested-by: jenkins Reviewed-by: Philippe Proulx --- CONTRIBUTING.adoc | 2 +- tools/format-cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index 17840c38..9af7a419 100644 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -1676,7 +1676,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}13 to use the project's `.clang-format` file. +You need clang-format{nbsp}14 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 370baef9..56064ce0 100755 --- a/tools/format-cpp +++ b/tools/format-cpp @@ -4,7 +4,7 @@ # # Copyright (C) 2020-2022 Philippe Proulx -expected_formatter_major_version=13 +expected_formatter_major_version=14 # Runs the formatter, making sure it's the expected version. format_cpp() { -- 2.34.1