refactor: run clang linter and formatter
This commit is contained in:
parent
7668befc06
commit
2dd2b9e087
27 changed files with 189 additions and 157 deletions
|
@ -66,5 +66,4 @@ auto thespian_handle_is_expired(thespian_handle h) -> bool {
|
|||
h)};
|
||||
return h_->expired();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -14,8 +14,7 @@ using thespian::stop_metronome;
|
|||
|
||||
extern "C" {
|
||||
|
||||
auto thespian_metronome_create_ms(uint64_t ms)
|
||||
-> thespian_metronome_handle * {
|
||||
auto thespian_metronome_create_ms(uint64_t ms) -> thespian_metronome_handle * {
|
||||
try {
|
||||
auto *handle = thespian::create_metronome(milliseconds(ms)).ref.release();
|
||||
return reinterpret_cast<thespian_metronome_handle *>(handle); // NOLINT
|
||||
|
@ -27,8 +26,7 @@ auto thespian_metronome_create_ms(uint64_t ms)
|
|||
return nullptr;
|
||||
}
|
||||
}
|
||||
auto thespian_metronome_create_us(uint64_t us)
|
||||
-> thespian_metronome_handle * {
|
||||
auto thespian_metronome_create_us(uint64_t us) -> thespian_metronome_handle * {
|
||||
try {
|
||||
auto *handle = thespian::create_metronome(microseconds(us)).ref.release();
|
||||
return reinterpret_cast<thespian_metronome_handle *>(handle); // NOLINT
|
||||
|
|
|
@ -18,5 +18,4 @@ void thespian_trace_to_cbor_file(const char *file_name) {
|
|||
void thespian_trace_to_mermaid_file(const char *file_name) {
|
||||
thespian::trace_to_mermaid_file(file_name);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue