[cfe-commits] r85193 - /cfe/trunk/lib/Sema/SemaDecl.cpp
Ted Kremenek
kremenek at apple.com
Mon Oct 26 18:07:53 PDT 2009
Author: kremenek
Date: Mon Oct 26 20:07:53 2009
New Revision: 85193
URL: http://llvm.org/viewvc/llvm-project?rev=85193&view=rev
Log:
Use a pred_iterator instead of a succ_iterator (wrong typedef).
Modified:
cfe/trunk/lib/Sema/SemaDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=85193&r1=85192&r2=85193&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Mon Oct 26 20:07:53 2009
@@ -1083,7 +1083,7 @@
bool HasLiveReturn = false;
bool HasFakeEdge = false;
bool HasPlainEdge = false;
- for (CFGBlock::succ_iterator I=cfg->getExit().pred_begin(),
+ for (CFGBlock::pred_iterator I=cfg->getExit().pred_begin(),
E = cfg->getExit().pred_end();
I != E;
++I) {
More information about the cfe-commits
mailing list