[llvm] [NFC][TableGen] Add deleted copy operations for RAII guard classes (PR #184168)

Jaydeep Chauhan via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 21:59:13 PST 2026


JaydeepChauhan14 wrote:

> @JaydeepChauhan14 Quick Q: Are you planning to do this for more RAII like classes? If so, does having a common base class for all RAII classes with a deleted copy constructor and assignment operator help not duplicate this across these classes, as long as you derive all your RAII like classes from this common base class?

@jurahul I am not planning to do the same for other RAII classes.

https://github.com/llvm/llvm-project/pull/184168


More information about the llvm-commits mailing list