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:
@@ -135,11 +135,11 @@ struct ROCPROFSYS_INTERNAL_API path_type
|
||||
};
|
||||
|
||||
inline path_type(const std::string&);
|
||||
~path_type() = default;
|
||||
path_type(const path_type&) = default;
|
||||
path_type(path_type&&) = default;
|
||||
~path_type() = default;
|
||||
path_type(const path_type&) = default;
|
||||
path_type(path_type&&) = default;
|
||||
path_type& operator=(const path_type&) = default;
|
||||
path_type& operator=(path_type&&) = default;
|
||||
path_type& operator=(path_type&&) = default;
|
||||
|
||||
bool exists() const { return m_type < unknown; }
|
||||
explicit operator bool() const { return exists(); }
|
||||
|
||||
Reference in New Issue
Block a user