Fix the clang build after Zhongxing Xu's commit.

llvm-svn: 114059
This commit is contained in:
John McCall 2010-09-16 03:09:43 +00:00
parent 1a9f4dd5a0
commit 561cd86acf
1 changed files with 4 additions and 4 deletions

View File

@ -274,8 +274,8 @@ private:
dataflow::forward_analysis_tag) {
for (StmtItr I=ItrTraits::StmtBegin(B), E=ItrTraits::StmtEnd(B); I!=E;++I) {
CFGElement E = *I;
if (CFGStmt S = E.getAs<CFGStmt>())
CFGElement El = *I;
if (CFGStmt S = El.getAs<CFGStmt>())
ProcessStmt(S, recordStmtValues, AnalysisDirTag());
}
@ -288,8 +288,8 @@ private:
TF.VisitTerminator(const_cast<CFGBlock*>(B));
for (StmtItr I=ItrTraits::StmtBegin(B), E=ItrTraits::StmtEnd(B); I!=E;++I) {
CFGElement E = *I;
if (CFGStmt S = E.getAs<CFGStmt>())
CFGElement El = *I;
if (CFGStmt S = El.getAs<CFGStmt>())
ProcessStmt(S, recordStmtValues, AnalysisDirTag());
}
}