mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
SmallVectorTest.cpp: Use LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210507 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8b9e31c6e2
commit
6e02efd130
@ -143,8 +143,8 @@ struct NonCopyable {
|
||||
NonCopyable() {}
|
||||
NonCopyable(NonCopyable &&) {}
|
||||
NonCopyable &operator=(NonCopyable &&) { return *this; }
|
||||
NonCopyable(const NonCopyable &) = delete;
|
||||
NonCopyable &operator=(const NonCopyable &) = delete;
|
||||
NonCopyable(const NonCopyable &) LLVM_DELETED_FUNCTION;
|
||||
NonCopyable &operator=(const NonCopyable &) LLVM_DELETED_FUNCTION;
|
||||
};
|
||||
|
||||
LLVM_ATTRIBUTE_USED void CompileTest() {
|
||||
|
Loading…
Reference in New Issue
Block a user