[analyzer] RetainReleaseChecker always wants region change updates. There's no need for a flag, at least not right now.

llvm-svn: 138212
This commit is contained in:
Jordy Rose 2011-08-20 21:17:59 +00:00
parent 5c252ef7b1
commit a8f99ba749
1 changed files with 2 additions and 6 deletions

View File

@ -3434,11 +3434,7 @@ class RetainReleaseChecker
check::PostStmt<CastExpr>,
check::RegionChanges,
eval::Assume > {
public:
bool wantsRegionUpdate;
RetainReleaseChecker() : wantsRegionUpdate(true) {}
public:
void checkBind(SVal loc, SVal val, CheckerContext &C) const;
void checkPostStmt(const BlockExpr *BE, CheckerContext &C) const;
void checkPostStmt(const CastExpr *CE, CheckerContext &C) const;
@ -3452,7 +3448,7 @@ public:
const MemRegion * const *end) const;
bool wantsRegionChangeUpdate(const ProgramState *state) const {
return wantsRegionUpdate;
return true;
}
};
} // end anonymous namespace