webrtc/rtc_base/system
Li-Yu Yu 758f26852d Fix downstream review comments for C++20
This CL addresses the review comments for
https://webrtc-review.googlesource.com/c/src/+/261221
in the downstream cherry-pick: https://crrev.com/c/4660950.

*   Always use size_t{} for casting.
*   Remove unneeded size_t casts.
*   Avoid using __x as it is reserved for the compiler.

Bug: b:217226507
Change-Id: I13c57cb69d7db066ac9a6dbd15b7f6de54abb613
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/311360
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Li-Yu Yu <aaronyu@google.com>
Cr-Commit-Position: refs/heads/main@{#40395}
2023-07-04 09:06:07 +00:00
..
arch.h loongarch: Add loongarch architecture support. 2022-09-13 10:44:59 +00:00
asm_defines.h
assume.h Proof of concept: Cancer Stick Castle, a sigslot replacement 2020-09-11 15:31:51 +00:00
BUILD.gn Use generate_stubs without //base dependency 2022-07-01 10:50:54 +00:00
cocoa_threading.h Get rid of thread_darwin file. 2018-10-12 12:53:59 +00:00
cocoa_threading.mm Get rid of thread_darwin file. 2018-10-12 12:53:59 +00:00
DEPS Delete unused ScopedRegisterThreadForDebugging facility 2022-04-05 09:21:39 +00:00
file_wrapper.cc Use consistent syntax for constructing std::strings from absl::string_views 2022-07-23 00:18:31 +00:00
file_wrapper.h Adopt absl::string_view in rtc_base/ (straightforward cases) 2022-04-17 12:11:56 +00:00
file_wrapper_unittest.cc Add FileSize method to FileWrapper 2021-03-25 15:59:05 +00:00
gcd_helpers.h Reland "Leverage dispatch_queue_create_with_target when possible." 2020-03-18 16:06:09 +00:00
gcd_helpers.m Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. 2020-05-04 15:01:26 +00:00
ignore_warnings.h
inline.h
no_cfi_icall.h Use generate_stubs without //base dependency 2022-07-01 10:50:54 +00:00
no_unique_address.h Fix downstream review comments for C++20 2023-07-04 09:06:07 +00:00
rtc_export.h
rtc_export_template.h Add RTC_EXPORT_TEMPLATE_{DECLARE,DEFINE} macros. 2019-10-31 11:12:52 +00:00
unused.h Fix -Wunused-but-set-variable 2021-11-16 10:30:30 +00:00
warn_current_thread_is_deadlocked.cc rtc::Event::Wait(kForever): Print stack trace when we deadlock 2019-03-25 09:37:12 +00:00
warn_current_thread_is_deadlocked.h rtc::Event::Wait(kForever): Print stack trace when we deadlock 2019-03-25 09:37:12 +00:00