]> granicus.if.org Git - clang/commit
Updating the capability attribute diagnostics to be more capability-neutral. Instead...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 1 Apr 2014 21:43:23 +0000 (21:43 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 1 Apr 2014 21:43:23 +0000 (21:43 +0000)
commitbde32e097ddf8e11f4297369284cf573614ea2fe
treee982fa72a5dcbb7ed4408af5c6cecbf8d920c293
parentae76507458f81f8576a7b4c69f5e2c4241ee6702
Updating the capability attribute diagnostics to be more capability-neutral. Instead of using terminology such as "lock", "unlock" and "locked", the new terminology is "acquire", "release" and "held". Additionally, the capability attribute's name argument is now reported as part of the diagnostic, instead of hard coding as "mutex."

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