[PATCH] D18347: [PATCH] Fix thread_annotation negtest for thread safety.

Richard Barton via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 04:53:19 PDT 2016


richard.barton.arm created this revision.
richard.barton.arm added reviewers: EricWF, jamesr.
richard.barton.arm added a subscriber: cfe-commits.

Although not testing the annotations feature, the test still needs guarding for thread-safety otherwise it will not compile at all.

http://reviews.llvm.org/D18347

Files:
  test/libcxx/t

Index: test/libcxx/t
===================================================================
--- test/libcxx/t
+++ test/libcxx/t
@@ -7,6 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// REQUIRES: thread-safety
+
 // <mutex>
 
 // This test does not define _LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS so it


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18347.51271.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160322/f0e04cce/attachment.bin>


More information about the cfe-commits mailing list