Use C++ casts and auto.
Rename to CollectThreadLeaks b/c it's only collecting, not reporting.
Details
Details
- Reviewers
vitalybuka melver - Commits
- rG15eb431537dc: tsan: modernize MaybeReportThreadLeak
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp | ||
---|---|---|
151–153 | What about this line? |
What about this line?
This is also doing a static cast and the type would still be obvious if using auto *.