Use clang-format-18 for source formatting (#256)
* Updating clang-format to v18
- Updates the pre-commit-config
- Formats source files according to the utility
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
* Update format source workflow
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
* Update CONTRIBUTING
* Update comment in .clang-format
* Update CONTRIBUTING.md
* Update helper script
---------
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
[ROCm/rocprofiler-systems commit: 1e13b590e7]
This commit is contained in:
@@ -35,7 +35,7 @@ repos:
|
||||
- id: end-of-file-fixer # Fix files to have a newline at the end
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v11.1.0 # Version 11 as specified in contributor guide
|
||||
rev: v18.1.8 # Version 18 as specified in contributor guide
|
||||
hooks:
|
||||
- id: clang-format
|
||||
files: \.(c|cpp|h.*)$
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user