Format /rtc_base folder

Formatting done via:

git ls-files | grep -E '^rtc_base\/.*\.(h|cc|mm)' | xargs clang-format -i

No-Iwyu: Includes didn't change and it isn't related to formatting
Bug: webrtc:42225392
Change-Id: I11c1ae6d6ea49c744a4e60a1a032e3d5ae7bce1f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/373906
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43688}
This commit is contained in:
Boris Tsirkin 2025-01-08 07:01:43 -08:00 committed by WebRTC LUCI CQ
parent d7b4c56d57
commit 5654f891bb
8 changed files with 44 additions and 44 deletions

View File

@ -11,7 +11,6 @@
#ifndef RTC_BASE_NUMERICS_SEQUENCE_NUMBER_UTIL_H_
#define RTC_BASE_NUMERICS_SEQUENCE_NUMBER_UTIL_H_
#include <limits>
#include <type_traits>

View File

@ -563,7 +563,6 @@ class SSLStreamAdapterTestBase : public ::testing::Test,
}
void TestHandshake(bool expect_success = true) {
if (!dtls_) {
// Make sure we simulate a reliable network for TLS.
// This is just a check to make sure that people don't write wrong

View File

@ -17,7 +17,9 @@ void InitCocoaMultiThreading() {
static BOOL is_cocoa_multithreaded = [NSThread isMultiThreaded];
if (!is_cocoa_multithreaded) {
// +[NSObject class] is idempotent.
[NSThread detachNewThreadSelector:@selector(class) toTarget:[NSObject class] withObject:nil];
[NSThread detachNewThreadSelector:@selector(class)
toTarget:[NSObject class]
withObject:nil];
is_cocoa_multithreaded = YES;
RTC_DCHECK([NSThread isMultiThreaded]);
}