Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: src/PNaClTranslator.cpp

Issue 619983002: Subzero: Remove LLVM_DELETED_FUNCTION. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/PNaClTranslator.h ('k') | src/assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/PNaClTranslator.cpp
diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp
index c160daa6fe4a8f0a519117c9f600f2d1c640dc19..b1e731816d7a87a22bb2fb7859fcef3a66b1eaed 100644
--- a/src/PNaClTranslator.cpp
+++ b/src/PNaClTranslator.cpp
@@ -51,8 +51,8 @@ static cl::opt<bool> AllowErrorRecovery(
// Top-level class to read PNaCl bitcode files, and translate to ICE.
class TopLevelParser : public NaClBitcodeParser {
- TopLevelParser(const TopLevelParser &) LLVM_DELETED_FUNCTION;
- TopLevelParser &operator=(const TopLevelParser &) LLVM_DELETED_FUNCTION;
+ TopLevelParser(const TopLevelParser &) = delete;
+ TopLevelParser &operator=(const TopLevelParser &) = delete;
public:
TopLevelParser(Ice::Translator &Translator, const std::string &InputName,
@@ -767,8 +767,8 @@ void GlobalsParser::ProcessRecord() {
/// Base class for parsing a valuesymtab block in the bitcode file.
class ValuesymtabParser : public BlockParserBaseClass {
- ValuesymtabParser(const ValuesymtabParser &) LLVM_DELETED_FUNCTION;
- void operator=(const ValuesymtabParser &) LLVM_DELETED_FUNCTION;
+ ValuesymtabParser(const ValuesymtabParser &) = delete;
+ void operator=(const ValuesymtabParser &) = delete;
public:
ValuesymtabParser(unsigned BlockID, BlockParserBaseClass *EnclosingParser)
@@ -829,8 +829,8 @@ class FunctionValuesymtabParser;
/// Parses function blocks in the bitcode file.
class FunctionParser : public BlockParserBaseClass {
- FunctionParser(const FunctionParser &) LLVM_DELETED_FUNCTION;
- FunctionParser &operator=(const FunctionParser &) LLVM_DELETED_FUNCTION;
+ FunctionParser(const FunctionParser &) = delete;
+ FunctionParser &operator=(const FunctionParser &) = delete;
friend class FunctionValuesymtabParser;
public:
@@ -2016,8 +2016,8 @@ void FunctionParser::ProcessRecord() {
/// Parses constants within a function block.
class ConstantsParser : public BlockParserBaseClass {
- ConstantsParser(const ConstantsParser &) LLVM_DELETED_FUNCTION;
- ConstantsParser &operator=(const ConstantsParser &) LLVM_DELETED_FUNCTION;
+ ConstantsParser(const ConstantsParser &) = delete;
+ ConstantsParser &operator=(const ConstantsParser &) = delete;
public:
ConstantsParser(unsigned BlockID, FunctionParser *FuncParser)
@@ -2132,9 +2132,8 @@ void ConstantsParser::ProcessRecord() {
// Parses valuesymtab blocks appearing in a function block.
class FunctionValuesymtabParser : public ValuesymtabParser {
- FunctionValuesymtabParser(const FunctionValuesymtabParser &)
- LLVM_DELETED_FUNCTION;
- void operator=(const FunctionValuesymtabParser &) LLVM_DELETED_FUNCTION;
+ FunctionValuesymtabParser(const FunctionValuesymtabParser &) = delete;
+ void operator=(const FunctionValuesymtabParser &) = delete;
public:
FunctionValuesymtabParser(unsigned BlockID, FunctionParser *EnclosingParser)
@@ -2244,9 +2243,8 @@ private:
};
class ModuleValuesymtabParser : public ValuesymtabParser {
- ModuleValuesymtabParser(const ModuleValuesymtabParser &)
- LLVM_DELETED_FUNCTION;
- void operator=(const ModuleValuesymtabParser &) LLVM_DELETED_FUNCTION;
+ ModuleValuesymtabParser(const ModuleValuesymtabParser &) = delete;
+ void operator=(const ModuleValuesymtabParser &) = delete;
public:
ModuleValuesymtabParser(unsigned BlockID, ModuleParser *MP)
« no previous file with comments | « src/PNaClTranslator.h ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698