diff options
author | John McCall <rjmccall@apple.com> | 2012-05-02 05:39:15 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-05-02 05:39:15 +0000 |
commit | 8647296fefa0d3b417d3201e5ba7f405cc8a5345 (patch) | |
tree | 1beaf3ed7c9a88fb4fae110e75d24453d250166a /clang/lib/Driver/Tools.cpp | |
parent | 2a7840066459c29add385513d11ef08840ad344c (diff) | |
download | bcm5719-llvm-8647296fefa0d3b417d3201e5ba7f405cc8a5345.tar.gz bcm5719-llvm-8647296fefa0d3b417d3201e5ba7f405cc8a5345.zip |
Update SmallVector to support move semantics if the host does.
Note that support for rvalue references does not imply support
for the full set of move-related STL operations.
I've preserved support for an odd little thing in insert() where
we're trying to support inserting a new element from an existing
one. If we actually want to support that, there's a lot more we
need to do: insert can call either grow or push_back, neither of
which is safe against this particular use pattern.
llvm-svn: 155979
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions