aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-05-07 15:45:00 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-05-07 15:45:00 +0000
commit3044ac058bdc7ee960fb4c084d2f8affd2b9c8c4 (patch)
tree82ba7c45ae9eeab30d53145b5b1d605e38149fcf /llvm/unittests/Support/CommandLineTest.cpp
parentab8c8da60928cae277942f4fda2e63626ec7b863 (diff)
downloadllvm-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