]> granicus.if.org Git - clang/commit
Thread safety analysis: support the use of pt_guarded_by attributes
authorDeLesley Hutchins <delesley@google.com>
Mon, 23 Apr 2012 18:39:55 +0000 (18:39 +0000)
committerDeLesley Hutchins <delesley@google.com>
Mon, 23 Apr 2012 18:39:55 +0000 (18:39 +0000)
commitaed9ea398a3fd8d488120728e2df4ac81c3b0c4b
treedaa661927d5fd357fdee7facbbc66c0e62dc9d2e
parent6603ff85d415c2aa72579f1a247012b75bfc2a19
Thread safety analysis:  support the use of pt_guarded_by attributes
on smart pointers.  Also adds test case for previous commit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155379 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/warn-thread-safety-parsing.cpp