[cfe-commits] r139370 - in /cfe/trunk: include/clang/Analysis/Analyses/ThreadSafety.h include/clang/Basic/DiagnosticSemaKinds.td lib/Analysis/ThreadSafety.cpp lib/Sema/AnalysisBasedWarnings.cpp test/SemaCXX/warn-thread-safety-analysis.cpp

Caitlin Sadowski supertri at google.com
Fri Sep 9 15:31:05 PDT 2011


Here is a patch which adds test cases, and identifies locks which
cannot be resolved more cleanly.

http://codereview.appspot.com/4960064/

Cheers,

Caitlin

On Fri, Sep 9, 2011 at 9:43 AM, Chandler Carruth <chandlerc at google.com> wrote:
> Err, I don't see any tests that actually exercise this case:
> On Fri, Sep 9, 2011 at 9:21 AM, Caitlin Sadowski <supertri at google.com>
> wrote:
>>
>> +def warn_cannot_resolve_lock : Warning<
>> +  "cannot resolve lock expression to a specific lockable object">,
>> +  InGroup<ThreadSafety>, DefaultIgnore;
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threadsafety_unresolvedlockexpr.patch
Type: text/x-patch
Size: 5252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110909/67084773/attachment.bin>


More information about the cfe-commits mailing list