[llvm-bugs] [Bug 27394] New: Tests for Container::insert(value_type const&) often pass value_type&&.
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Apr 17 18:39:02 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27394
Bug ID: 27394
Summary: Tests for Container::insert(value_type const&) often
pass value_type&&.
Product: libc++
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: eric at efcs.ca
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
Classification: Unclassified
The tests for many containers insert(value_type const&) method actually call
insert like "insert(value_type(x, y))" meaning they are testing the rvalue
overload instead.
I've fixed the tests for insert in map and multimap, and partially fixed the
tests for unordered_map.
The remaining container tests need to be audited to find this bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160418/0a96e394/attachment.html>
More information about the llvm-bugs
mailing list