diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-03 04:45:26 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-03 04:45:26 +0000 |
commit | 2e5156274b8051217565b557bfa14c80f7990e9c (patch) | |
tree | 300453996c9eabf553db8bd94a4bf611f8cd4b9f /lib/Sema/SemaExpr.cpp | |
parent | aacde7174af6c5759b52dc0ceb7b167d323afb6a (diff) |
Thread safety analysis:
* When we detect that a CFG block has inconsistent lock sets, point the
diagnostic at the location where we found the inconsistency, and point a note
at somewhere the inconsistently-locked mutex was locked.
* Fix the wording of the normal (non-loop, non-end-of-function) case of this
diagnostic to not suggest that the mutex is going out of scope.
* Fix the diagnostic emission code to keep a warning and its note together when
sorting the diagnostics into source location order.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions