aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-02-13 14:31:54 +0000
committerGitHub <noreply@github.com>2024-02-13 14:31:54 +0000
commitf7cddf80062848fbbb358d7e913650cc550d2547 (patch)
tree37532dde9fe661141c0d1f3f95c7ad5729459da8 /flang/lib/Frontend/CompilerInvocation.cpp
parentd759618df76361a8e490eeae5c5399e0738cbfd0 (diff)
downloadllvm-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