mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-11 20:22:02 +00:00
SmallVectorTest.cpp: Use LLVM_DELETED_FUNCTION.
llvm-svn: 210507
This commit is contained in:
parent
250efba0f3
commit
33c9311492
@ -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…
x
Reference in New Issue
Block a user