We use the existing diag::note_locked_here to tell the user where we saw
the first locking.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM aside from a naming convention nit.
lib/Analysis/ThreadSafety.cpp | ||
---|---|---|
984 ↗ | (On Diff #182687) | fact -> Fact |
Comment Actions
Thanks for the review! I'll commit this when I have commit access again, which is waiting for my employer's approval to the relicensing.
lib/Sema/AnalysisBasedWarnings.cpp | ||
---|---|---|
1693 ↗ | (On Diff #182687) | I'll assume it's also Notes then. I tend to subconsciously forget these things. |
Comment Actions
Sounds good to me!
lib/Sema/AnalysisBasedWarnings.cpp | ||
---|---|---|
1693 ↗ | (On Diff #182687) | Yup, my eyes missed that one, so thank you for catching it. |