class ScopedTask {
__itt_domain *_domain;
- ScopedTask(const ScopedTask &) LLVM_DELETED_FUNCTION;
- ScopedTask &operator=(const ScopedTask &) LLVM_DELETED_FUNCTION;
+ ScopedTask(const ScopedTask &) = delete;
+ ScopedTask &operator=(const ScopedTask &) = delete;
public:
/// \brief Create a task in Domain \p d named \p s.
raw_ostream &diag = llvm::errs());
private:
- Driver() LLVM_DELETED_FUNCTION;
+ Driver() = delete;
};
/// Driver for "universal" lld tool which can mimic any linker command line
raw_ostream &diag = llvm::errs());
private:
- UniversalDriver() LLVM_DELETED_FUNCTION;
+ UniversalDriver() = delete;
};
/// Driver for gnu/binutil 'ld' command line options.
llvm::Triple &triple,
llvm::Triple &baseTriple);
- GnuLdDriver() LLVM_DELETED_FUNCTION;
+ GnuLdDriver() = delete;
};
/// Driver for darwin/ld64 'ld' command line options.
raw_ostream &diag = llvm::errs());
private:
- DarwinLdDriver() LLVM_DELETED_FUNCTION;
+ DarwinLdDriver() = delete;
};
/// Driver for Windows 'link.exe' command line options
}
private:
- WinLinkDriver() LLVM_DELETED_FUNCTION;
+ WinLinkDriver() = delete;
};
/// Driver for lld unit tests
raw_ostream &diag = llvm::errs());
private:
- CoreDriver() LLVM_DELETED_FUNCTION;
+ CoreDriver() = delete;
};
} // end namespace lld
const llvm::StringSet<> &wrapCalls() const { return _wrapCalls; }
private:
- ELFLinkingContext() LLVM_DELETED_FUNCTION;
+ ELFLinkingContext() = delete;
protected:
ELFLinkingContext(llvm::Triple, std::unique_ptr<TargetHandlerBase>);
/// Let's not allow copying of Parser class because it would be expensive
/// to update all the AST pointers to a new buffer.
- Parser(const Parser &instance) LLVM_DELETED_FUNCTION;
+ Parser(const Parser &instance) = delete;
/// Lex and parse the current memory buffer to create a linker script AST.
std::error_code parse();