]> granicus.if.org Git - clang/commit
[analyzer] Fix pthread lock tests so that the API comes from a system header.
authorJordan Rose <jordan_rose@apple.com>
Wed, 10 Sep 2014 16:17:42 +0000 (16:17 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 10 Sep 2014 16:17:42 +0000 (16:17 +0000)
commitc279e010ec8cca2c7c748eb0db237f4a0b7d30c7
treec6b410b16e29663a9fc76e3b36444f766b1dd5d6
parentc661f601f8e9d834cc3a90aff5cfe1190956fd4e
[analyzer] Fix pthread lock tests so that the API comes from a system header.

...and verify that a global mutex in user code can be used without warnings.

Patch by Aleksei Sidorin!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217515 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/Inputs/system-header-simulator-for-pthread-lock.h [new file with mode: 0644]
test/Analysis/pthreadlock.c