diff options
author | Jay Foad <jay.foad@amd.com> | 2024-02-13 14:31:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 14:31:54 +0000 |
commit | f7cddf80062848fbbb358d7e913650cc550d2547 (patch) | |
tree | 37532dde9fe661141c0d1f3f95c7ad5729459da8 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | d759618df76361a8e490eeae5c5399e0738cbfd0 (diff) | |
download | llvm-f7cddf80062848fbbb358d7e913650cc550d2547.zip llvm-f7cddf80062848fbbb358d7e913650cc550d2547.tar.gz llvm-f7cddf80062848fbbb358d7e913650cc550d2547.tar.bz2 |
[TableGen] Use std::move instead of swap. NFC. (#81606)
Historically TableGen has used `A.swap(B)` to move containers without
the expense of copying them. Perhaps this predated rvalue references. In
any case `A = std::move(B)` seems like a more direct way to implement
this when only A is required after the operation.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions