applies clang-tidy fixes

This commit is contained in:
Eyck Jentzsch 2024-12-18 19:23:05 +01:00
parent f8f1f2f54c
commit 2e4d0efb50
7 changed files with 8 additions and 7 deletions

View File

@ -43,7 +43,7 @@ if(ENABLE_CLANG_TIDY)
endif() endif()
endif() endif()
set(CLANG_FORMAT_EXCLUDE_PATTERNS "/third_party/") set(CLANG_FORMAT_EXCLUDE_PATTERNS "/third_party/" "/build/")
find_package(ClangFormat) find_package(ClangFormat)
find_package(ZLIB) find_package(ZLIB)
find_package(lz4) find_package(lz4)

View File

@ -1,2 +1,3 @@
conan>=2.0 conan>=2.0
cmake cmake
clang-format==14.0

2
scc

@ -1 +1 @@
Subproject commit 5046e6e54f4dc17e9673c4d5049c55632c926fea Subproject commit dd8a539df05a14ab320f81af08b0db17faf489cb

View File

@ -134,6 +134,6 @@ private:
*/ */
void end_of_elaboration() { initiator_ID.lock(); } void end_of_elaboration() { initiator_ID.lock(); }
}; };
// initiator // initiator
#endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_INITIATOR_H_ #endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_INITIATOR_H_

View File

@ -174,6 +174,6 @@ private:
int addrSize; int addrSize;
char stringName[50]; char stringName[50];
}; };
// router // router
#endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_ROUTER_H_ #endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_ROUTER_H_

View File

@ -143,6 +143,6 @@ private:
int* mem; int* mem;
}; };
// target // target
#endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_TARGET_H_ #endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_TARGET_H_

View File

@ -219,6 +219,6 @@ private:
int targetSize; ///< Maximum target Size (preset value) int targetSize; ///< Maximum target Size (preset value)
int r_addr_max; ///< Maximum Router Table's memory range 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_ #endif // EXAMPLES_EX09_HIERARCHICAL_OVERRIDE_OF_PARAMETER_VALUES_TOP_MODULE_H_