Simplify code. No functionality change.
[oota-llvm.git] / lib / Analysis / LibCallAliasAnalysis.cpp
index fefa51660f92a509469a2f193f0a391e2c4f0e05..016f8c5cc7932d5a594eb29e452cdfa1b31907c4 100644 (file)
@@ -54,7 +54,7 @@ LibCallAliasAnalysis::AnalyzeLibCallDetails(const LibCallFunctionInfo *FI,
   // if we have detailed info and if 'P' is any of the locations we know
   // about.
   const LibCallFunctionInfo::LocationMRInfo *Details = FI->LocationDetails;
-  if (Details == 0)
+  if (Details == nullptr)
     return MRInfo;
   
   // If the details array is of the 'DoesNot' kind, we only know something if