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:
@@ -75,7 +75,8 @@ run(const char* _name, int nchildren)
|
||||
for(auto& itr : _children)
|
||||
{
|
||||
while(itr == 0)
|
||||
{}
|
||||
{
|
||||
}
|
||||
printf("[%s][%i] performing waitpid(%i, ...)\n", _name, getpid(), itr);
|
||||
while((_wait_pid = waitpid(itr, &_status, WUNTRACED | WNOHANG)) <= 0)
|
||||
{
|
||||
|
||||
مرجع در شماره جدید
Block a user