[PATCH] D39080: [libcxx] [test] Tolerate even more [[nodiscard]] in the STL.

Billy Robert O'Neal III via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 22:12:16 PDT 2017


BillyONeal created this revision.

STL reviewed my [[nodiscard]] changes and suggested a ton more places. These are the associated test changes in libcxx.


https://reviews.llvm.org/D39080

Files:
  test/std/algorithms/alg.nonmodifying/alg.search/search_n.pass.cpp
  test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp
  test/std/containers/associative/map/map.access/at.pass.cpp
  test/std/containers/unord/unord.map/unord.map.elem/at.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.disc/assign.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.disc/copy.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.disc/discard.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.ibits/assign.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.ibits/copy.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.ibits/discard.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.shuf/assign.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.shuf/copy.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.shuf/ctor_engine_copy.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.shuf/ctor_engine_move.pass.cpp
  test/std/numerics/rand/rand.adapt/rand.adapt.shuf/discard.pass.cpp
  test/std/numerics/rand/rand.device/eval.pass.cpp
  test/std/numerics/rand/rand.eng/rand.eng.lcong/discard.pass.cpp
  test/std/numerics/rand/rand.eng/rand.eng.mers/assign.pass.cpp
  test/std/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp
  test/std/numerics/rand/rand.eng/rand.eng.mers/discard.pass.cpp
  test/std/numerics/rand/rand.eng/rand.eng.sub/assign.pass.cpp
  test/std/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp
  test/std/numerics/rand/rand.eng/rand.eng.sub/discard.pass.cpp
  test/std/re/re.alg/re.alg.search/grep.pass.cpp
  test/std/thread/thread.mutex/thread.lock.algorithm/try_lock.pass.cpp
  test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock.pass.cpp
  test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_for.pass.cpp
  test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/try_lock_until.pass.cpp
  test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock.pass.cpp
  test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_for.pass.cpp
  test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/try_lock_until.pass.cpp
  test/std/utilities/any/any.nonmembers/any.cast/any_cast_reference.pass.cpp
  test/std/utilities/memory/default.allocator/allocator.members/allocate.size.pass.cpp
  test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp
  test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/owner_less.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39080.119545.patch
Type: text/x-patch
Size: 25954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171019/db3d438b/attachment-0001.bin>


More information about the cfe-commits mailing list