Skip to content

Commit 8d0dcbf

Browse files
committed
expand clang-tidy checks to category/mpt
1 parent dfd5207 commit 8d0dcbf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2231
-1980
lines changed

category/async/detail/connected_operation_storage.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ namespace detail
207207
}
208208
}
209209
if (thisio != nullptr) {
210+
// 1. assumes this is acting as an `else` branch for the `if`
211+
// 2. if `sender_(...)` returns `success` the operation is
212+
// in progress and `thisio`/`this` haven't been deleted
213+
// yet.
214+
// NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDelete)
210215
thisio->notify_operation_initiation_success_(this);
211216
}
212217
return initiation_result::initiation_success;

category/core/small_prng.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include <cstddef>
2121
#include <cstdint>
22+
#include <iterator>
2223

2324
#include <unistd.h> // for gettid()
2425

0 commit comments

Comments
 (0)