summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-08-13 12:50:30 +0000
committerHaojian Wu <hokein@google.com>2018-08-13 12:50:30 +0000
commit74e0f40d9819bfe539dae50650dc0f2e76b37583 (patch)
treea764aa8e9b12f7ba25b02fbbebff0ed9bce56f3d /clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp
parent7b31fae9836ccc3973c01117aebcba643e34e7fe (diff)
downloadbcm5719-llvm-74e0f40d9819bfe539dae50650dc0f2e76b37583.tar.gz
bcm5719-llvm-74e0f40d9819bfe539dae50650dc0f2e76b37583.zip
Revert "Allow relockable scopes with thread safety attributes."
This reverts commit r339456. The change introduces a new crash, see class SCOPED_LOCKABLE FileLock { public: explicit FileLock() EXCLUSIVE_LOCK_FUNCTION(file_); ~FileLock() UNLOCK_FUNCTION(file_); void Lock() EXCLUSIVE_LOCK_FUNCTION(file_); Mutex file_; }; void relockShared2() { FileLock file_lock; file_lock.Lock(); } llvm-svn: 339558
Diffstat (limited to 'clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud