]> granicus.if.org Git - clang/commit
Thread-safety analysis: differentiate between two forms of analysis; a precise
authorDeLesley Hutchins <delesley@google.com>
Mon, 10 Sep 2012 19:58:23 +0000 (19:58 +0000)
committerDeLesley Hutchins <delesley@google.com>
Mon, 10 Sep 2012 19:58:23 +0000 (19:58 +0000)
commit3f0ec5209726641782468bd4c7597e79dda78b15
treedea619fabad3cecc1516644084b6ac886a32a8b7
parentbd7e30605253ae053087619173713c19355e28ea
Thread-safety analysis: differentiate between two forms of analysis; a precise
analysis that may give false positives because it is confused by aliasing, and
a less precise analysis that has fewer false positives, but may have false
negatives.  The more precise warnings are enabled by -Wthread-safety-precise.
An additional note clarify the warnings in the precise case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163537 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/ThreadSafety.h
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Analysis/ThreadSafety.cpp
lib/Sema/AnalysisBasedWarnings.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp