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

Unified Diff: src/IceTargetLowering.h

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/IceRegAlloc.h ('k') | src/IceTargetLoweringX8632.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLowering.h
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index 1995124826d066cffd229671e1bc4066c58e9162..e009bede8b4a44641039fb4a871bca4a1f487aea 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -81,8 +81,8 @@ private:
void skipDeleted(InstList::iterator &I) const;
void advanceForward(InstList::iterator &I) const;
void advanceBackward(InstList::iterator &I) const;
- LoweringContext(const LoweringContext &) LLVM_DELETED_FUNCTION;
- LoweringContext &operator=(const LoweringContext &) LLVM_DELETED_FUNCTION;
+ LoweringContext(const LoweringContext &) = delete;
+ LoweringContext &operator=(const LoweringContext &) = delete;
};
class TargetLowering {
@@ -230,8 +230,8 @@ protected:
LoweringContext Context;
private:
- TargetLowering(const TargetLowering &) LLVM_DELETED_FUNCTION;
- TargetLowering &operator=(const TargetLowering &) LLVM_DELETED_FUNCTION;
+ TargetLowering(const TargetLowering &) = delete;
+ TargetLowering &operator=(const TargetLowering &) = delete;
};
// TargetGlobalInitLowering is used for "lowering" global
@@ -253,10 +253,9 @@ protected:
GlobalContext *Ctx;
private:
- TargetGlobalInitLowering(const TargetGlobalInitLowering &)
- LLVM_DELETED_FUNCTION;
- TargetGlobalInitLowering &
- operator=(const TargetGlobalInitLowering &) LLVM_DELETED_FUNCTION;
+ TargetGlobalInitLowering(const TargetGlobalInitLowering &) = delete;
+ TargetGlobalInitLowering &operator=(const TargetGlobalInitLowering &) =
+ delete;
};
} // end of namespace Ice
« no previous file with comments | « src/IceRegAlloc.h ('k') | src/IceTargetLoweringX8632.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698