llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared
Louis Dionne c479e0c994 [libc++] NFC: Fix several GCC warnings in the test suite
- Several -Wshadow warnings
- Several places where we did not initialize our base class explicitly
- Unused variable warnings
- Some tautological comparisons
- Some places where we'd pass null arguments to functions expecting
  non-null (in unevaluated contexts)
- Add a few pragmas to turn off spurious warnings
- Fix warnings about declarations that don't declare anything
- Properly disable deprecation warnings in ext/ tests (the pragmas we
  were using didn't work on GCC)
- Disable include_as_c.sh.cpp because GCC complains about C++ flags
  when compiling as C. I couldn't find a way to fix this one properly,
  so I'm disabling the test. This isn't great, but at least we'll be
  able to enable warnings in the whole test suite with GCC.
2020-10-30 12:48:05 -04:00
..
util.smartptr.getdeleter [libc++] Rename the -fno-rtti Lit feature to just no-rtti 2020-09-29 16:29:44 -04:00
util.smartptr.shared.assign [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
util.smartptr.shared.cast [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
util.smartptr.shared.cmp Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
util.smartptr.shared.const [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
util.smartptr.shared.create [libcxx] Re-commit: shared_ptr changes from library fundamentals (P0414R2). 2020-05-12 11:23:18 -07:00
util.smartptr.shared.dest Support tests in freestanding 2019-02-04 20:31:13 +00:00
util.smartptr.shared.io [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
util.smartptr.shared.mod [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
util.smartptr.shared.obs [libc++] Fix failures when running the test suite without RTTI 2020-09-21 20:17:24 -04:00
util.smartptr.shared.spec Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
types.pass.cpp [libcxx] Re-commit: shared_ptr changes from library fundamentals (P0414R2). 2020-05-12 11:23:18 -07:00