[PATCH] D142446: [MC] Disable copying and moving of MCInstrDescs the C++20 way

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 15:15:34 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/include/llvm/MC/MCInstrDesc.h:195
+// struct from being copied or moved while still allowing aggregate
+// initialization in both C++17 and C++20.
+struct NonCopyableNonMovable {
----------------
drop the c++17 part if it's not actually true?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142446



More information about the llvm-commits mailing list