aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorAaron Puchert <aaron.puchert@sap.com>2020-06-08 16:30:06 +0200
committerAaron Puchert <aaron.puchert@sap.com>2020-06-08 17:00:29 +0200
commitf70912f885f991d5af11d8ecb10b703f3cbed982 (patch)
tree406beb7cf18f5469791ef0cda43d467f07e3936c /clang/unittests/Tooling/Syntax/TreeTest.cpp
parent1850f56c8abae637c2cc1b8d27b8577c5700101a (diff)
downloadllvm-f70912f885f991d5af11d8ecb10b703f3cbed982.zip
llvm-f70912f885f991d5af11d8ecb10b703f3cbed982.tar.gz
llvm-f70912f885f991d5af11d8ecb10b703f3cbed982.tar.bz2
Thread safety analysis: Add note for double unlock
Summary: When getting a warning that we release a capability that isn't held it's sometimes not clear why. So just like we do for double locking, we add a note on the previous release operation, which marks the point since when the capability isn't held any longer. We can find this previous release operation by looking up the corresponding negative capability. Reviewers: aaron.ballman, delesley Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D81352
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions