summaryrefslogtreecommitdiff
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-09-18 02:01:41 +0000
committerCraig Topper <craig.topper@gmail.com>2012-09-18 02:01:41 +0000
commitc2945e44d5d485ce080a09900fbd5245e01165fc (patch)
treee3548b3706d6bc59bdb779fe2460e8cf06f82579 /include/llvm/Bitcode
parentd10eab0a95dcfff6390cc73b50ca07fd8b98b0bc (diff)
downloadllvm-c2945e44d5d485ce080a09900fbd5245e01165fc.tar.gz
llvm-c2945e44d5d485ce080a09900fbd5245e01165fc.tar.bz2
llvm-c2945e44d5d485ce080a09900fbd5245e01165fc.tar.xz
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r--include/llvm/Bitcode/Archive.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Bitcode/Archive.h b/include/llvm/Bitcode/Archive.h
index c1c3ec044b..4fd4b5d90a 100644
--- a/include/llvm/Bitcode/Archive.h
+++ b/include/llvm/Bitcode/Archive.h
@@ -527,9 +527,9 @@ class Archive {
/// @name Hidden
/// @{
private:
- Archive(); ///< Do not implement
- Archive(const Archive&); ///< Do not implement
- Archive& operator=(const Archive&); ///< Do not implement
+ Archive() LLVM_DELETED_FUNCTION;
+ Archive(const Archive&) LLVM_DELETED_FUNCTION;
+ Archive& operator=(const Archive&) LLVM_DELETED_FUNCTION;
/// @}
};