From 2e4d0efb50537ad5aae2a6cd73bb4992ea63164d Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Wed, 18 Dec 2024 19:23:05 +0100 Subject: [PATCH] applies clang-tidy fixes --- CMakeLists.txt | 2 +- requirements.txt | 3 ++- scc | 2 +- tests/configuration/initiator.h | 2 +- tests/configuration/router.h | 2 +- tests/configuration/target.h | 2 +- tests/configuration/top_module.h | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f923b6..30fb7c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ if(ENABLE_CLANG_TIDY) endif() endif() -set(CLANG_FORMAT_EXCLUDE_PATTERNS "/third_party/") +set(CLANG_FORMAT_EXCLUDE_PATTERNS "/third_party/" "/build/") find_package(ClangFormat) find_package(ZLIB) find_package(lz4) diff --git a/requirements.txt b/requirements.txt index 32d44c7..b7d8b70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ conan>=2.0 -cmake \ No newline at end of file +cmake +clang-format==14.0 \ No newline at end of file diff --git a/scc b/scc index 5046e6e..dd8a539 160000 --- a/scc +++ b/scc @@ -1 +1 @@ -Subproject commit 5046e6e54f4dc17e9673c4d5049c55632c926fea +Subproject commit dd8a539df05a14ab320f81af08b0db17faf489cb diff --git a/tests/configuration/initiator.h b/tests/configuration/initiator.h index fc071e8..4b5d938 100644 --- a/tests/configuration/initiator.h +++ b/tests/configuration/initiator.h @@ -134,6 +134,6 @@ private: */ void end_of_elaboration() { initiator_ID.lock(); } }; -// initiator + // initiator #endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_INITIATOR_H_ diff --git a/tests/configuration/router.h b/tests/configuration/router.h index dd003e9..6f25557 100644 --- a/tests/configuration/router.h +++ b/tests/configuration/router.h @@ -174,6 +174,6 @@ private: int addrSize; char stringName[50]; }; -// router + // router #endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_ROUTER_H_ diff --git a/tests/configuration/target.h b/tests/configuration/target.h index aeb28fe..ad4a688 100644 --- a/tests/configuration/target.h +++ b/tests/configuration/target.h @@ -143,6 +143,6 @@ private: int* mem; }; -// target + // target #endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_TARGET_H_ diff --git a/tests/configuration/top_module.h b/tests/configuration/top_module.h index 1285f35..2ce77ee 100644 --- a/tests/configuration/top_module.h +++ b/tests/configuration/top_module.h @@ -219,6 +219,6 @@ private: int targetSize; ///< Maximum target Size (preset value) int r_addr_max; ///< Maximum Router Table's memory range }; -// top_module + // top_module #endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_TOP_MODULE_H_