StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp: Appease msvc.

0 (as nullptr) is incompatible to pointer in type matching on msvc.

llvm-svn: 167355
This commit is contained in:
NAKAMURA Takumi 2012-11-03 13:59:36 +00:00
parent a318ef6fa6
commit ba15a7974a
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ static std::pair<const Stmt*,
}
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 @@ static std::pair<const Stmt*,
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();
}