mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment operators that aren't implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164006 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
#ifndef LLVM_SYSTEM_MUTEX_H
|
||||
#define LLVM_SYSTEM_MUTEX_H
|
||||
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/Threading.h"
|
||||
#include <cassert>
|
||||
|
||||
@ -75,8 +76,8 @@ namespace llvm
|
||||
/// @name Do Not Implement
|
||||
/// @{
|
||||
private:
|
||||
MutexImpl(const MutexImpl & original);
|
||||
void operator=(const MutexImpl &);
|
||||
MutexImpl(const MutexImpl &) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MutexImpl &) LLVM_DELETED_FUNCTION;
|
||||
/// @}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user