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

Unified Diff: src/IceLiveness.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/IceIntrinsics.h ('k') | src/IceOperand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceLiveness.h
diff --git a/src/IceLiveness.h b/src/IceLiveness.h
index e58f426ba28ee7d2132c8f752251463c77c1e46a..031f4e93406c30d1585050d5bbbae9e78f33d3d3 100644
--- a/src/IceLiveness.h
+++ b/src/IceLiveness.h
@@ -46,8 +46,8 @@ public:
private:
// TODO: Disable these constructors when Liveness::Nodes is no
// longer an STL container.
- // LivenessNode(const LivenessNode &) LLVM_DELETED_FUNCTION;
- // LivenessNode &operator=(const LivenessNode &) LLVM_DELETED_FUNCTION;
+ // LivenessNode(const LivenessNode &) = delete;
+ // LivenessNode &operator=(const LivenessNode &) = delete;
};
class Liveness {
@@ -91,8 +91,8 @@ private:
std::vector<Variable *> LiveToVarMap;
// LiveRanges maps a Variable::Number to its live range.
std::vector<LiveRange> LiveRanges;
- Liveness(const Liveness &) LLVM_DELETED_FUNCTION;
- Liveness &operator=(const Liveness &) LLVM_DELETED_FUNCTION;
+ Liveness(const Liveness &) = delete;
+ Liveness &operator=(const Liveness &) = delete;
};
} // end of namespace Ice
« no previous file with comments | « src/IceIntrinsics.h ('k') | src/IceOperand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698