From c914da569e980ed633ed72e76bb8d1e6de1d3463 Mon Sep 17 00:00:00 2001 From: Rafal Walczyna Date: Mon, 24 May 2021 15:02:02 +0200 Subject: [PATCH] [Tools] Force clang-format version to 3.9 Using version newer than 3.9 results in a lot of format changes. As user may want to use newer clang-format version for different projects, script has been changed to use clang-format-3.9 executable. [Verification] No change in C++ formatting Change-Id: I4f569644549db8104bb39efc6bc1eca23ac6bbd6 Signed-off-by: Rafal Walczyna --- doc/html/index.html | 5 +---- doc/src/tools.md | 7 +------ tools/codestyle/c++_clang_formatter.sh | 9 ++++----- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/doc/html/index.html b/doc/html/index.html index 7253e5ab..a574f425 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -395,10 +395,7 @@ file before build process.

cpplint is used to validate C++ and eslint for JavaScript files.

Currently, the JavaScript validator and formatter seems to be a little buggy, thus it is not recommended to use.

-

The developer needs to have python, node.js, eslint, Closure Linter and clang-format installed.

-

It is worth to make life easier by creating symbolic link to clang-format.

-
sudo ln -s /usr/bin/clang-format-<clang format version> /usr/bin/clang-format
-
+

The developer needs to have python, node.js, eslint, Closure Linter and clang-format-3.9 installed.

For convenience, in the root of the project links were provided for easier access: