webrtc/rtc_base/system
Peter Kasting 662d7f11d5 Fixes to support building in -std=c++20 mode.
* Structs with user-declared constructors are no longer considered
  aggregates, so remove the declarations when possible
* Types of both arguments to "==" must match to avoid "ambiguous
  function call" warning
* Various types of math involving enums are deprecated, so replace with
  constexprs where necessary
* ABSL_CONST_INIT must be used on definition as well as declaration
* volatile memory may no longer be read from and written to by the same
  operator, so replace e.g. "n++" with "n = n + 1"
* Replace an outdated check for no_unique_address support with
  __has_cpp_attribute
* std::result_of(f(x)) has been removed, replace with
  std::invoke_result(f, x)

Bug: chromium:1284275
Change-Id: I77b366ab1da7eb2c1e4c825b2714417c31ee5903
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261221
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Tomas Gunnarsson <tommi@google.com>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36786}
2022-05-05 17:15:58 +00:00
..
arch.h Add preprocessor support for additional architectures 2020-12-31 21:14:27 +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 Adopt absl::string_view in rtc_base/ (straightforward cases) 2022-04-17 12:11:56 +00:00
cocoa_threading.h
cocoa_threading.mm
DEPS Delete unused ScopedRegisterThreadForDebugging facility 2022-04-05 09:21:39 +00:00
file_wrapper.cc Adopt absl::string_view in rtc_base/ (straightforward cases) 2022-04-17 12:11:56 +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_unique_address.h Fixes to support building in -std=c++20 mode. 2022-05-05 17:15:58 +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