forked from OSchip/llvm-project
[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:
parent
5c252ef7b1
commit
a8f99ba749
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue