Updating the documentation to include an operator! for negative capability support.

llvm-svn: 238020
This commit is contained in:
Aaron Ballman 2015-05-22 13:36:48 +00:00
parent f7cfed4bff
commit 8afcd0a71a

View File

@ -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; }
};