You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Summary: When providing a non-const-callable comparator in a map or set, the warning diagnostic does not include the point of instantiation of the container that triggered the warning, which makes it difficult to track down the problem. This commit improves the diagnostic by placing it directly in the body of the associative container. The same change is applied to unordered associative containers, which had a similar problem. Finally, this commit cleans up the forward declarations of several map and unordered_map helpers, which are not needed anymore. <rdar://problem/41370747> Reviewers: EricWF, mclow.lists Subscribers: christof, dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D48955 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@348529 91177308-0d34-0410-b5e6-96231b3b80d8 |
7 years ago | |
|---|---|---|
| .. | ||
| map | 10 years ago | |
| set | 10 years ago | |
| non_const_comparator.fail.cpp | 7 years ago | |
| tree_balance_after_insert.pass.cpp | 9 years ago | |
| tree_key_value_traits.pass.cpp | 10 years ago | |
| tree_left_rotate.pass.cpp | 9 years ago | |
| tree_remove.pass.cpp | 9 years ago | |
| tree_right_rotate.pass.cpp | 9 years ago | |
| undef_min_max.pass.cpp | 9 years ago | |