]> granicus.if.org Git - clang/commit
Thread-safety analysis: eliminate false positives in case where the definition
authorDeLesley Hutchins <delesley@google.com>
Thu, 5 Jul 2012 21:16:29 +0000 (21:16 +0000)
committerDeLesley Hutchins <delesley@google.com>
Thu, 5 Jul 2012 21:16:29 +0000 (21:16 +0000)
commit5381c05f51e5b7c7627f1d95b9a3425303ce086a
treebbe8360be6375474b773a7e6136e31e6b9e91753
parent84c1f4b1edddf74f8080cfc470796c2c498b5d43
Thread-safety analysis: eliminate false positives in case where the definition
duplicates attributes on the declaration.  Also eliminates a false negative in
ReleasableMutexLock.  Fixing this bug required some refactoring.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159780 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ThreadSafety.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp