]> granicus.if.org Git - clang/commit
Thread safety analysis: Add a new "beta" warning flag: -Wthread-safety-beta.
authorDeLesley Hutchins <delesley@google.com>
Wed, 5 Dec 2012 00:06:15 +0000 (00:06 +0000)
committerDeLesley Hutchins <delesley@google.com>
Wed, 5 Dec 2012 00:06:15 +0000 (00:06 +0000)
commitfb4afc2fc659faff43a6df4c1d0e07df9c90479d
treea8e70a47a3f26e8f6bf6989b29042a95d5360985
parent1d1539875bc0a00935ffb41e27a8fd327054c006
Thread safety analysis: Add a new "beta" warning flag: -Wthread-safety-beta.
As the analysis improves, it will continue to add new warnings that are
potentially disruptive to existing users.  From now on, such warnings will
first be introduced under the "beta" flag.  Such warnings are not turned on by
default; their purpose is to allow users to test their code against future
planned changes, before those changes are actually made.  After a suitable
migration period, beta warnings will be folded into the standard
-Wthread-safety.

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