[PATCH] D19625: [libc++] Void-cast runtime-unused variables.

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 14:34:50 PDT 2016


STL_MSFT created this revision.
STL_MSFT added reviewers: mclow.lists, EricWF.
STL_MSFT added a subscriber: cfe-commits.

[libc++] Void-cast runtime-unused variables.

Also, remove unused names in exception handlers and remove an unused array.

Fixes MSVC "warning C4101: unreferenced local variable".

http://reviews.llvm.org/D19625

Files:
  test/std/depr/depr.c.headers/setjmp_h.pass.cpp
  test/std/depr/depr.c.headers/stdio_h.pass.cpp
  test/std/input.output/file.streams/c.files/cstdio.pass.cpp
  test/std/iterators/iterator.primitives/std.iterator.tags/bidirectional_iterator_tag.pass.cpp
  test/std/iterators/iterator.primitives/std.iterator.tags/forward_iterator_tag.pass.cpp
  test/std/iterators/iterator.primitives/std.iterator.tags/input_iterator_tag.pass.cpp
  test/std/iterators/iterator.primitives/std.iterator.tags/output_iterator_tag.pass.cpp
  test/std/iterators/iterator.primitives/std.iterator.tags/random_access_iterator_tag.pass.cpp
  test/std/language.support/support.exception/except.nested/throw_with_nested.pass.cpp
  test/std/language.support/support.exception/propagation/current_exception.pass.cpp
  test/std/language.support/support.runtime/csetjmp.pass.cpp
  test/std/language.support/support.runtime/ctime.pass.cpp
  test/std/localization/c.locales/clocale.pass.cpp
  test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
  test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp
  test/std/numerics/rand/rand.device/eval.pass.cpp
  test/std/re/re.alg/re.alg.search/grep.pass.cpp
  test/std/utilities/allocator.adaptor/allocator.adaptor.types/allocator_pointers.pass.cpp
  test/std/utilities/memory/default.allocator/allocator_pointers.pass.cpp
  test/std/utilities/time/date.time/ctime.pass.cpp
  test/std/utilities/utility/forward/forward.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19625.55324.patch
Type: text/x-patch
Size: 15237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160427/ba393b71/attachment-0001.bin>


More information about the cfe-commits mailing list