diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2015-05-22 13:36:48 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2015-05-22 13:36:48 +0000 |
commit | bd32b56304e81d29654ffa27140edad7d0e5cd2f (patch) | |
tree | 1afdd5f1d12202510f2a938f0f9ff04e597c9b8d /docs | |
parent | 0c997f594bf24e14e3250967de78e14fd8674dfc (diff) | |
download | clang-bd32b56304e81d29654ffa27140edad7d0e5cd2f.tar.gz |
Updating the documentation to include an operator! for negative capability support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ThreadSafetyAnalysis.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ThreadSafetyAnalysis.rst b/docs/ThreadSafetyAnalysis.rst index 0a1b8049e4..19ec2352ff 100644 --- a/docs/ThreadSafetyAnalysis.rst +++ b/docs/ThreadSafetyAnalysis.rst @@ -857,6 +857,9 @@ implementation. // Assert that is mutex is currently held for read operations. void AssertReaderHeld() ASSERT_SHARED_CAPABILITY(this); + + // For negative capabilities. + const Mutex& operator!() const { return *this; } }; |