Fix memory leak of RegScavenger accidentally added in r211037.
[oota-llvm.git] / utils / TableGen / SetTheory.cpp
index d952e6811d27a02a628eeae4a096ef0e9e566fae..5ead7ed16fda6e50ee00f59f0c6a34e8b9a60b67 100644 (file)
@@ -318,6 +318,6 @@ const RecVec *SetTheory::expand(Record *Set) {
   }
 
   // Set is not expandable.
-  return 0;
+  return nullptr;
 }