diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-11-20 11:14:33 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-11-20 11:14:33 +0000 |
commit | 55758e9691410b9b3bee24f37e0255e93628e46c (patch) | |
tree | d25d206e78276ad6a36e42533a0ca6aa527194d9 /clang/lib/Format/ContinuationIndenter.cpp | |
parent | 3dedf827f899f1c14dda1a5a0e909da1dd090f95 (diff) | |
download | bcm5719-llvm-55758e9691410b9b3bee24f37e0255e93628e46c.tar.gz bcm5719-llvm-55758e9691410b9b3bee24f37e0255e93628e46c.zip |
Give SmallPtrSet move semantics when we have R-value references.
Somehow, this ADT got missed which is moderately terrifying considering
the efficiency of move for it.
The code to implement move semantics for it is pretty horrible
currently but was written to reasonably closely match the rest of the
code. Unittests that cover both copying and moving (at a basic level)
added.
llvm-svn: 195239
Diffstat (limited to 'clang/lib/Format/ContinuationIndenter.cpp')
0 files changed, 0 insertions, 0 deletions