[PATCH] D59455: Thread safety analysis: Add note for unlock kind mismatch
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 18 13:08:07 PDT 2019
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM aside from a small nit.
================
Comment at: include/clang/Analysis/Analyses/ThreadSafety.h:127
+ SourceLocation LocLocked,
SourceLocation Loc) {}
----------------
Can you rename this one to `LocUnlocked` to mirror the new parameter?
================
Comment at: lib/Sema/AnalysisBasedWarnings.cpp:1690
+ SourceLocation LocLocked,
SourceLocation Loc) override {
if (Loc.isInvalid())
----------------
Same suggestion here.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59455/new/
https://reviews.llvm.org/D59455
More information about the cfe-commits
mailing list