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>
This commit is contained in:
David Galiffi
2025-06-22 08:48:08 -04:00
committed by GitHub
parent e3741f678b
commit 1e13b590e7
76 changed files with 258 additions and 255 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ exception<Tp>::operator=(const exception& _rhs)
if(this != &_rhs)
{
Tp::operator=(_rhs);
m_what = strdup(_rhs.m_what);
m_what = strdup(_rhs.m_what);
}
return *this;
}