mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
![]() clangd ignores ASSERT_EXCLUSIVE_LOCK macro attached to an inline function in header, thus IDEs relying on clangd issue false positive warnings about members acceesses without the check of the current sequence. Attaching assert attribute to an inlined lambda function seems to solve that issue Bug: None Change-Id: I6199fee26061aa4223f2e3ea7b7b14bb5820c0bc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/270480 Reviewed-by: Evan Shrubsole <eshr@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37678} |
||
---|---|---|
.. | ||
BUILD.gn | ||
DEPS | ||
mutex.h | ||
mutex_abseil.h | ||
mutex_benchmark.cc | ||
mutex_critical_section.h | ||
mutex_pthread.h | ||
mutex_unittest.cc | ||
sequence_checker_internal.cc | ||
sequence_checker_internal.h | ||
yield.cc | ||
yield.h | ||
yield_policy.cc | ||
yield_policy.h | ||
yield_policy_unittest.cc |