aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachinePassRegistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/MachinePassRegistry.cpp')
-rw-r--r--lib/CodeGen/MachinePassRegistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachinePassRegistry.cpp b/lib/CodeGen/MachinePassRegistry.cpp
index cb204fd..3ee3e40 100644
--- a/lib/CodeGen/MachinePassRegistry.cpp
+++ b/lib/CodeGen/MachinePassRegistry.cpp
@@ -20,7 +20,7 @@ void MachinePassRegistryListener::anchor() { }
/// setDefault - Set the default constructor by name.
void MachinePassRegistry::setDefault(StringRef Name) {
- MachinePassCtor Ctor = 0;
+ MachinePassCtor Ctor = nullptr;
for(MachinePassRegistryNode *R = getList(); R; R = R->getNext()) {
if (R->getName() == Name) {
Ctor = R->getCtor();