StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp: Appease msvc.
0 (as nullptr) is incompatible to pointer in type matching on msvc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167355 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp b/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
index cd67a03..f5e319f 100644
--- a/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
+++ b/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
@@ -99,7 +99,7 @@
}
if (Node->pred_empty())
- return std::pair<const Stmt*, const CFGBlock*>(0, 0);
+ return std::pair<const Stmt*, const CFGBlock*>((Stmt*)0, (CFGBlock*)0);
Node = *Node->pred_begin();
}
@@ -116,7 +116,7 @@
break;
}
if (Node->pred_empty())
- return std::pair<const Stmt*, const CFGBlock*>(S, 0);
+ return std::pair<const Stmt*, const CFGBlock*>(S, (CFGBlock*)0);
Node = *Node->pred_begin();
}