Remove the legacy typedefs and use Mutex/Lock types directly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| compiler-rt/lib/tsan/dd/dd_rtl.cpp | ||
|---|---|---|
| 41 | This warning is genuine I think and is related to the 'struct Mutex' shadowing the real Mutex. | |
| compiler-rt/lib/tsan/dd/dd_rtl.h | ||
| 22 | This Mutex is shadowing __sanitizer::Mutex. I was first confused why it's not required to say __sanitizer::Mutex, but in sanitizer_internal_defs.h, this is using namespace __sanitizer. | |
| compiler-rt/lib/tsan/dd/dd_rtl.cpp | ||
|---|---|---|
| 41 | Sent https://reviews.llvm.org/D107053 to fix this. | |
This Mutex is shadowing __sanitizer::Mutex.
I was first confused why it's not required to say __sanitizer::Mutex, but in sanitizer_internal_defs.h, this is using namespace __sanitizer.