[clang-tools-extra] [clang-tidy][NFC] Do less unnecessary work in `NoLintDirectiveHandler` (PR #147553)

Victor Chernyakin via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 8 08:41:04 PDT 2025


================
@@ -31,8 +31,6 @@ class NoLintDirectiveHandler {
 public:
   NoLintDirectiveHandler();
   ~NoLintDirectiveHandler();
-  NoLintDirectiveHandler(const NoLintDirectiveHandler &) = delete;
-  NoLintDirectiveHandler &operator=(const NoLintDirectiveHandler &) = delete;
----------------
localspook wrote:

This class holds a `std::unique_ptr`, so it's already noncopyable.

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


More information about the cfe-commits mailing list