diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-05-07 15:45:00 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-05-07 15:45:00 +0000 |
commit | 3044ac058bdc7ee960fb4c084d2f8affd2b9c8c4 (patch) | |
tree | 82ba7c45ae9eeab30d53145b5b1d605e38149fcf /llvm/unittests/Support/CommandLineTest.cpp | |
parent | ab8c8da60928cae277942f4fda2e63626ec7b863 (diff) | |
download | llvm-3044ac058bdc7ee960fb4c084d2f8affd2b9c8c4.zip llvm-3044ac058bdc7ee960fb4c084d2f8affd2b9c8c4.tar.gz llvm-3044ac058bdc7ee960fb4c084d2f8affd2b9c8c4.tar.bz2 |
Avoid use-after-move warnings by using swap instead. NFCI.
Swap should be as quick in these cases, and leaves the original variables in a known (empty) state.
llvm-svn: 360164
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions