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]
Šī revīzija ir iekļauta:
1 vecāks
6a8cef771e
revīzija
0403aaa97f
76 files changed
+258
-255
No files matched your search
@@ -178,8 +178,8 @@ perf_event::open(struct perf_event_attr& _pe, pid_t _pid, int _cpu)
|
||||
|
||||
ROCPROFSYS_RETURN_ERROR_MSG(
|
||||
true, "Failed to open perf event. Consider tweaking "
|
||||
<< path << " to 2 or less "
|
||||
<< "(current value is " << value << "), "
|
||||
<< path << " to 2 or less " << "(current value is " << value
|
||||
<< "), "
|
||||
<< "or run rocprof-sys as a privileged user (with CAP_SYS_ADMIN).");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user