Remove uses of the redundant ".reset(nullptr)" of unique_ptr, in favor of ".reset()"
[oota-llvm.git] / lib / Analysis / IPA / CallGraph.cpp
index caec2534691afa4d7e69f773419e5365e92cedf9..dfabb0ad063d3a61596961d7d0f385b6b4847da9 100644 (file)
@@ -267,7 +267,7 @@ INITIALIZE_PASS(CallGraphWrapperPass, "basiccg", "CallGraph Construction",
 
 char CallGraphWrapperPass::ID = 0;
 
-void CallGraphWrapperPass::releaseMemory() { G.reset(nullptr); }
+void CallGraphWrapperPass::releaseMemory() { G.reset(); }
 
 void CallGraphWrapperPass::print(raw_ostream &OS, const Module *) const {
   if (!G) {