aaronpuchert added inline comments.
================
Comment at: include/clang/Analysis/Analyses/ThreadSafety.h:127
+ SourceLocation LocLocked,
SourceLocation Loc) {}
----------------
aaron.ballman wrote:
> Can you rename this one to `LocUnlocked` to mirror the new parameter?
This was supposed to mirror the following function (handleDoubleLock), where
similarly `Loc` is the place of the issue itself and `LocLocked` indicates
where the lock is coming from. If we want to change this, I would suggest to
use present tense here: `LocUnlock`. The lock from `LocLocked` "happened in the
past" (meaning earlier in the code), but the unlock "happens now" (meaning at
the current location).
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59455/new/
https://reviews.llvm.org/D59455
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits