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

alexw alexw at nicira.com
Thu Jan 16 13:51:56 PST 2014


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.



More information about the cfe-dev mailing list