forked from OSchip/llvm-project
Fix the clang build after Zhongxing Xu's commit.
llvm-svn: 114059
This commit is contained in:
parent
1a9f4dd5a0
commit
561cd86acf
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue