[PATCH] D139552: [NFC] Optimize vector usage in lld

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 17:08:44 PST 2023


int3 accepted this revision.
int3 added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: lld/COFF/DriverUtils.cpp:350
 
-  TemporaryFile(TemporaryFile &&obj) {
-    std::swap(path, obj.path);
-  }
+  TemporaryFile(TemporaryFile &&obj) noexcept { std::swap(path, obj.path); }
 
----------------
maybe add a remark about this `noexcept` to the commit message


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139552/new/

https://reviews.llvm.org/D139552



More information about the llvm-commits mailing list