DebugInfo: Include lexical scopes in inlined subroutines.
[oota-llvm.git] / include / llvm / PassAnalysisSupport.h
index 479ee14c6674ae337d14210efe67b9c3505b98b9..9164305418092385d0613c3ca238ca014ca7397f 100644 (file)
@@ -182,7 +182,7 @@ AnalysisType *Pass::getAnalysisIfAvailable() const {
   const void *PI = &AnalysisType::ID;
 
   Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, true);
-  if (!ResultPass) return 0;
+  if (!ResultPass) return nullptr;
 
   // Because the AnalysisType may not be a subclass of pass (for
   // AnalysisGroups), we use getAdjustedAnalysisPointer here to potentially