A couple of msvc compile fixes from the ml; I haven't tested with msvc,
but the fixes are reasonable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47224 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/GRSimpleVals.cpp b/Analysis/GRSimpleVals.cpp
index 75dc256..558a876 100644
--- a/Analysis/GRSimpleVals.cpp
+++ b/Analysis/GRSimpleVals.cpp
@@ -38,9 +38,9 @@
E=CheckerState->null_end(); I!=E; ++I) {
const PostStmt& L = cast<PostStmt>((*I)->getLocation());
- Expr* E = cast<Expr>(L.getStmt());
+ Expr* Exp = cast<Expr>(L.getStmt());
- Diag.Report(FullSourceLoc(E->getExprLoc(), Ctx.getSourceManager()),
+ Diag.Report(FullSourceLoc(Exp->getExprLoc(), Ctx.getSourceManager()),
diag::chkr_null_deref_after_check);
}