diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-03-16 02:30:06 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-03-16 02:30:06 +0000 |
commit | 7865b2e9439839cdb354cae848038def79826796 (patch) | |
tree | ed23877c479ac4fa6fcaf8304bde3332e3d71802 /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py | |
parent | 9fb8e1b2a5d54f205a2a5db3136ab8cdc246333c (diff) | |
download | bcm5719-llvm-7865b2e9439839cdb354cae848038def79826796.tar.gz bcm5719-llvm-7865b2e9439839cdb354cae848038def79826796.zip |
Add clang thread safety annotations to mutex and lock_guard. Patch by jamesr@google.com.
This adds clang thread safety annotations to std::mutex and
std::lock_guard so code using these types can use these types directly
instead of having to wrap the types to provide annotations. These checks
when enabled by -Wthread-safety provide simple but useful static
checking to detect potential race conditions.
See http://clang.llvm.org/docs/ThreadSafetyAnalysis.html for details.
This patch was reviewed in http://reviews.llvm.org/D14731.
llvm-svn: 263611
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py')
0 files changed, 0 insertions, 0 deletions