[PATCH] D56967: Thread safety analysis: Improve diagnostics for double locking
Aaron Puchert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 19 14:47:47 PST 2019
aaronpuchert created this revision.
aaronpuchert added reviewers: aaron.ballman, delesley.
Herald added a subscriber: cfe-commits.
We use the existing diag::note_locked_here to tell the user where we saw
the first locking.
Repository:
rC Clang
https://reviews.llvm.org/D56967
Files:
include/clang/Analysis/Analyses/ThreadSafety.h
lib/Analysis/ThreadSafety.cpp
lib/Sema/AnalysisBasedWarnings.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56967.182687.patch
Type: text/x-patch
Size: 8470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190119/c3ca0c1d/attachment-0001.bin>
More information about the cfe-commits
mailing list