[PATCH] D45128: [libcxx][test] Silence -Wself-assign diagnostics

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 31 12:10:02 PDT 2018


lebedev.ri created this revision.
lebedev.ri added reviewers: mclow.lists, EricWF.

https://reviews.llvm.org/D44883 extends -Wself-assign to also work on C++ classes.
These new warnings pop up in the test suite, so they have to be silenced.

Please refer to the https://reviews.llvm.org/D45082 for disscussion on whether this is the right way to solve this.

Testing: `ninja check-libcxx check-libcxxabi` in stage-2 build.


Repository:
  rCXX libc++

https://reviews.llvm.org/D45128

Files:
  test/std/language.support/support.types/byteops/and.assign.pass.cpp
  test/std/language.support/support.types/byteops/or.assign.pass.cpp
  test/std/language.support/support.types/byteops/xor.assign.pass.cpp
  test/std/utilities/any/any.class/any.assign/copy.pass.cpp
  test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_assign.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45128.140553.patch
Type: text/x-patch
Size: 4014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180331/7b1f65f0/attachment.bin>


More information about the cfe-commits mailing list