diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 | 
| commit | 13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (patch) | |
| tree | 2732d02d7d51218d6eed98ac7fcfc5b8794896b5 /include/clang/Analysis/Analyses/ThreadSafety.h | |
| parent | 657bc3d9848e3be92029b2416031340988cd0111 (diff) | |
Diffstat (limited to 'include/clang/Analysis/Analyses/ThreadSafety.h')
| -rw-r--r-- | include/clang/Analysis/Analyses/ThreadSafety.h | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/include/clang/Analysis/Analyses/ThreadSafety.h b/include/clang/Analysis/Analyses/ThreadSafety.h index 742cc0434456..ef6b821e390b 100644 --- a/include/clang/Analysis/Analyses/ThreadSafety.h +++ b/include/clang/Analysis/Analyses/ThreadSafety.h @@ -132,7 +132,8 @@ public:    /// \param Loc -- The location of the protected operation.    virtual void handleMutexNotHeld(const NamedDecl *D,                                    ProtectedOperationKind POK, Name LockName, -                                  LockKind LK, SourceLocation Loc) {} +                                  LockKind LK, SourceLocation Loc, +                                  Name *PossibleMatch=0) {}    /// Warn when a function is called while an excluded mutex is locked. For    /// example, the mutex may be locked inside the function. | 
