Subzero: Convert NULL->nullptr.
This is limited to the src directory, and not (yet) the crosstest directory.
BUG= none
R=jfb@chromium.org
Review URL: https://codereview.chromium.org/814353002
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index d2bd6f8..e07bdeb 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -37,18 +37,18 @@
LoweringContext &operator=(const LoweringContext &) = delete;
public:
- LoweringContext() : Node(NULL), LastInserted(NULL) {}
+ LoweringContext() : Node(nullptr), LastInserted(nullptr) {}
~LoweringContext() {}
void init(CfgNode *Node);
Inst *getNextInst() const {
if (Next == End)
- return NULL;
+ return nullptr;
return Next;
}
Inst *getNextInst(InstList::iterator &Iter) const {
advanceForward(Iter);
if (Iter == End)
- return NULL;
+ return nullptr;
return Iter;
}
CfgNode *getNode() const { return Node; }