[PATCH] D22557: [libcxx] Diagnose invalid memory order arguments in <atomic>. Fixes PR21179.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 20 19:21:43 PDT 2016


EricWF updated this revision to Diff 64808.
EricWF added a comment.

Add tests for valid memory orderings as well. Originally I figured the rest of the test suite should cover them but there's no harm in more tests.


https://reviews.llvm.org/D22557

Files:
  include/atomic
  test/libcxx/atomics/diagnose_invalid_memory_order.fail.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22557.64808.patch
Type: text/x-patch
Size: 13387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160721/e8a071d9/attachment-0001.bin>


More information about the cfe-commits mailing list