Thread safety: adding additional documentation to the main thread safety interface, and making the destructor for the thread safety handler pure virtual
llvm-svn: 139722
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
// A intra-procedural analysis for thread safety (e.g. deadlocks and race
|
||||
// conditions), based off of an annotation system.
|
||||
//
|
||||
// See http://gcc.gnu.org/wiki/ThreadSafetyAnnotation for the gcc version.
|
||||
// See http://clang.llvm.org/docs/LanguageExtensions.html#threadsafety for more
|
||||
// information.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
@@ -36,6 +37,9 @@
|
||||
using namespace clang;
|
||||
using namespace thread_safety;
|
||||
|
||||
// Key method definition
|
||||
ThreadSafetyHandler::~ThreadSafetyHandler() {}
|
||||
|
||||
// Helper functions
|
||||
static Expr *getParent(Expr *Exp) {
|
||||
if (MemberExpr *ME = dyn_cast<MemberExpr>(Exp))
|
||||
|
||||
Reference in New Issue
Block a user