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:
@@ -161,7 +161,8 @@ struct setting_serialization<tsettings<Tp>, custom_setting_serializer>
|
||||
} // namespace tim
|
||||
|
||||
template <typename... Tp>
|
||||
void push(type_list<Tp...>)
|
||||
void
|
||||
push(type_list<Tp...>)
|
||||
{
|
||||
ROCPROFSYS_FOLD_EXPRESSION(
|
||||
settings::push_serialize_map_callback<Tp, custom_setting_serializer>());
|
||||
@@ -171,7 +172,8 @@ void push(type_list<Tp...>)
|
||||
}
|
||||
|
||||
template <typename... Tp>
|
||||
void pop(type_list<Tp...>)
|
||||
void
|
||||
pop(type_list<Tp...>)
|
||||
{
|
||||
ROCPROFSYS_FOLD_EXPRESSION(
|
||||
settings::pop_serialize_map_callback<Tp, custom_setting_serializer>());
|
||||
|
||||
Reference in New Issue
Block a user