diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-21 20:54:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-21 20:54:51 +0000 |
commit | 7d8fab9ecaabc726c340d26b62f9b0cc3f18b62a (patch) | |
tree | 7c79d6a747fd7ab2a085858442184b16a4ac766e /include/Support | |
parent | fbb574d7a171b510c053ff0901bdb850ddb7d033 (diff) |
Remove unused file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support')
-rw-r--r-- | include/Support/NonCopyable.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/Support/NonCopyable.h b/include/Support/NonCopyable.h deleted file mode 100644 index f13b7ce9da..0000000000 --- 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 |