[PATCH] D38598: [llvm-objdump] Add RAII for xar apis

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 16:18:11 PDT 2017


compnerd added inline comments.


================
Comment at: tools/llvm-objdump/MachODump.cpp:206
+namespace {
+struct ScopedXarFile {
+  xar_t xar;
----------------
These really should have the copy and move constructors deleted as well as the assignment operator deleted.


https://reviews.llvm.org/D38598





More information about the llvm-commits mailing list