mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Make use of the LLVM_DELETED_FUNCTION macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#define LLVM_MC_MCSECTION_H
|
||||
|
||||
#include "llvm/MC/SectionKind.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
||||
namespace llvm {
|
||||
class MCAsmInfo;
|
||||
@@ -33,8 +33,8 @@ namespace llvm {
|
||||
};
|
||||
|
||||
private:
|
||||
MCSection(const MCSection&); // DO NOT IMPLEMENT
|
||||
void operator=(const MCSection&); // DO NOT IMPLEMENT
|
||||
MCSection(const MCSection&) LLVM_DELETED_FUNCTION;
|
||||
void operator=(const MCSection&) LLVM_DELETED_FUNCTION;
|
||||
protected:
|
||||
MCSection(SectionVariant V, SectionKind K) : Variant(V), Kind(K) {}
|
||||
SectionVariant Variant;
|
||||
|
Reference in New Issue
Block a user