]> granicus.if.org Git - clang/commit
Thread-safety analysis: better handling of unreachable blocks. Fixes a bug
authorDeLesley Hutchins <delesley@google.com>
Fri, 21 Sep 2012 17:57:00 +0000 (17:57 +0000)
committerDeLesley Hutchins <delesley@google.com>
Fri, 21 Sep 2012 17:57:00 +0000 (17:57 +0000)
commitd2f388299153d80cbe5ffaaed8a882b59a1b59bc
tree57d6947c8743be25f8527ff24cb7d9157523f93c
parent938869941e5a01049fb301fbf82f3caa4c7efa09
Thread-safety analysis: better handling of unreachable blocks.  Fixes a bug
where a call to function marked 'noreturn' is followed by unreachable
implicit destructor calls.

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