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)
commit8edae13dd069e348bd39b19176a605d64e559f83
tree85d4418680d3b5913fa1eb7a6794f3bda45d68fb
parent50f61b662fa6f8e90ceba38940b79d5a48e4b6bd
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.

llvm-svn: 169338
clang/include/clang/Analysis/Analyses/ThreadSafety.h
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/AnalysisBasedWarnings.cpp