From 7d8fab9ecaabc726c340d26b62f9b0cc3f18b62a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Aug 2003 20:54:51 +0000 Subject: [PATCH] Remove unused file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8021 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/NonCopyable.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 include/Support/NonCopyable.h diff --git a/include/Support/NonCopyable.h b/include/Support/NonCopyable.h deleted file mode 100644 index f13b7ce9da8..00000000000 --- a/include/Support/NonCopyable.h +++ /dev/null @@ -1,26 +0,0 @@ -//===-- NonCopyable.h - Disable copy ctor and op= in subclasses --*- C++ -*--=// -// -// This file defines the NonCopyable and NonCopyableV classes. These mixin -// classes may be used to mark a class not being copyable. You should derive -// from NonCopyable if you don't want to have a virtual dtor, or NonCopyableV -// if you do want polymorphic behavior in your class. -// -// No library is required when using these functinons. -// -//===----------------------------------------------------------------------===// - -#ifndef SUPPORT_NONCOPYABLE_H -#define SUPPORT_NONCOPYABLE_H - -class NonCopyable { - // Disable the copy constructor and the assignment operator - // by making them both private: - // - NonCopyable(const NonCopyable &); // DO NOT IMPLEMENT - NonCopyable &operator=(const NonCopyable &); // DO NOT IMPLEMENT -protected: - inline NonCopyable() {} - inline ~NonCopyable() {} -}; - -#endif -- 2.34.1