[cfe-dev] [PATCH 1/2] Thread-safety: Enable -Wthread-safety check for c.

David Blaikie dblaikie at gmail.com
Tue Jan 21 11:12:58 PST 2014


Thanks for that.

Committed as r199762.


On Thu, Jan 16, 2014 at 1:51 PM, alexw <alexw at nicira.com> wrote:

> Hey David,
>
> Please see the attachment for fix patch.
>
> Sorry again, I must have run the wrong test the first time.
> The test is flawed at the beginning.
>
> I tested the fix, output:
> root at server329:~/llvm/llvm/tools/clang/test/Sema#
> ~/llvm/llvm/utils/lit/lit.py -v   warn-
> thread-safety-analysis.c
> lit.py: lit.cfg:196: note: using clang:
> '/root/llvm/llvm/Debug+Asserts/bin/clang'
> -- Testing: 1 tests, 1 threads --
> PASS: Clang :: Sema/warn-thread-safety-analysis.c (1 of 1)
> Testing Time: 0.03s
>   Expected Passes    : 1
>
> Thanks,
> Alex Wang,
> test_fix_wthread_safety_for_c.diff
> <
> http://clang-developers.42468.n3.nabble.com/file/n4037219/test_fix_wthread_safety_for_c.diff
> >
>
>
>
> --
> View this message in context:
> http://clang-developers.42468.n3.nabble.com/PATCH-2-2-Thread-safety-Add-test-for-Wthread-safety-check-for-C-tp4033444p4037219.html
> Sent from the Clang Developers mailing list archive at Nabble.com.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140121/5b646f0e/attachment.html>


More information about the cfe-dev mailing list