mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-03 11:24:18 +00:00
Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -114,9 +114,8 @@ private:
|
||||
/// The current set of counter values.
|
||||
std::vector<uint64_t> Counts;
|
||||
|
||||
TextInstrProfReader(const TextInstrProfReader &) LLVM_DELETED_FUNCTION;
|
||||
TextInstrProfReader &operator=(const TextInstrProfReader &)
|
||||
LLVM_DELETED_FUNCTION;
|
||||
TextInstrProfReader(const TextInstrProfReader &) = delete;
|
||||
TextInstrProfReader &operator=(const TextInstrProfReader &) = delete;
|
||||
public:
|
||||
TextInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer_)
|
||||
: DataBuffer(std::move(DataBuffer_)), Line(*DataBuffer, true, '#') {}
|
||||
@ -167,9 +166,8 @@ private:
|
||||
const char *NamesStart;
|
||||
const char *ProfileEnd;
|
||||
|
||||
RawInstrProfReader(const RawInstrProfReader &) LLVM_DELETED_FUNCTION;
|
||||
RawInstrProfReader &operator=(const RawInstrProfReader &)
|
||||
LLVM_DELETED_FUNCTION;
|
||||
RawInstrProfReader(const RawInstrProfReader &) = delete;
|
||||
RawInstrProfReader &operator=(const RawInstrProfReader &) = delete;
|
||||
public:
|
||||
RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)
|
||||
: DataBuffer(std::move(DataBuffer)) { }
|
||||
@ -273,9 +271,8 @@ private:
|
||||
/// The maximal execution count among all functions.
|
||||
uint64_t MaxFunctionCount;
|
||||
|
||||
IndexedInstrProfReader(const IndexedInstrProfReader &) LLVM_DELETED_FUNCTION;
|
||||
IndexedInstrProfReader &operator=(const IndexedInstrProfReader &)
|
||||
LLVM_DELETED_FUNCTION;
|
||||
IndexedInstrProfReader(const IndexedInstrProfReader &) = delete;
|
||||
IndexedInstrProfReader &operator=(const IndexedInstrProfReader &) = delete;
|
||||
public:
|
||||
IndexedInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer)
|
||||
: DataBuffer(std::move(DataBuffer)), Index(nullptr), CurrentOffset(0) {}
|
||||
|
Reference in New Issue
Block a user