]> granicus.if.org Git - clang/commit
Thread safety analysis: at a CFG join point between a block terminating in a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 3 Feb 2012 03:30:07 +0000 (03:30 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 3 Feb 2012 03:30:07 +0000 (03:30 +0000)
commitaacde7174af6c5759b52dc0ceb7b167d323afb6a
treeb7861c1d64c33be020fdb7bf6fc6622833c3985e
parent41f4431f3989ff23029eaf2ad947f07e39fb268c
Thread safety analysis: at a CFG join point between a block terminating in a
'continue' and another block, prefer the lockset from the other block, and
diagnose the 'continue' block as being the end of a loop.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149666 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ThreadSafety.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp