[all-commits] [llvm/llvm-project] 2c1c47: [libc++] Always use -fsyntax-only in .fail.cpp tests
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Apr 6 08:38:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2c1c4777a5a6eb48a0ca210e50eaebf1e3c931f3
https://github.com/llvm/llvm-project/commit/2c1c4777a5a6eb48a0ca210e50eaebf1e3c931f3
Author: Louis Dionne <ldionne at apple.com>
Date: 2020-04-06 (Mon, 06 Apr 2020)
Changed paths:
M libcxx/test/std/algorithms/alg.sorting/alg.min.max/requires_forward_iterator.fail.cpp
M libcxx/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp
M libcxx/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp
M libcxx/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp
M libcxx/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp
M libcxx/test/std/containers/sequences/array/array.fill/fill.fail.cpp
M libcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp
M libcxx/test/std/containers/sequences/array/array.tuple/get.fail.cpp
M libcxx/test/std/containers/sequences/array/compare.fail.cpp
M libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp
M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp
M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp
M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp
M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp
M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp
M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp
M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp
M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/convert.fail.cpp
M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/iter.fail.cpp
M libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op=/move_iterator.fail.cpp
M libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/iter.fail.cpp
M libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/reverse_iterator.fail.cpp
M libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op=/reverse_iterator.fail.cpp
M libcxx/test/std/strings/basic.string.hash/char_type_hash.fail.cpp
M libcxx/test/std/strings/string.view/string.view.hash/char_type.hash.fail.cpp
M libcxx/test/std/utilities/function.objects/func.memfn/member_data.fail.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.private.fail.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.protected.fail.cpp
M libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.dltr/unique.ptr.dltr.dflt/incomplete.fail.cpp
M libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.dltr/unique.ptr.dltr.dflt/void.fail.cpp
M libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.dltr/unique.ptr.dltr.dflt1/incomplete.fail.cpp
M libcxx/utils/libcxx/test/format.py
Log Message:
-----------
[libc++] Always use -fsyntax-only in .fail.cpp tests
We had a workaround because GCC 5 does not evaluate static assertions
that are dependent on template parameters. This commit removes the
workaround and marks the corresponding tests as unsupported with GCC 5.
This has the benefit of bringing the new and the old test formats closer
without having to carry a workaround for an old compiler in the new
test format.
More information about the All-commits
mailing list