forked from OSchip/llvm-project
Forgot some references to misspelled enums.
llvm-svn: 193047
This commit is contained in:
parent
2501f14197
commit
1d5d634c82
|
@ -2609,7 +2609,7 @@ void RetainCountChecker::checkPostStmt(const CastExpr *CE,
|
|||
AE = IncRef;
|
||||
break;
|
||||
case clang::OBC_BridgeTransfer:
|
||||
AE = DecRefBridgedTransfered;
|
||||
AE = DecRefBridgedTransferred;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -2997,7 +2997,7 @@ RetainCountChecker::updateSymbol(ProgramStateRef state, SymbolRef sym,
|
|||
break;
|
||||
|
||||
case DecRef:
|
||||
case DecRefBridgedTransfered:
|
||||
case DecRefBridgedTransferred:
|
||||
case DecRefAndStopTrackingHard:
|
||||
switch (V.getKind()) {
|
||||
default:
|
||||
|
@ -3007,8 +3007,8 @@ RetainCountChecker::updateSymbol(ProgramStateRef state, SymbolRef sym,
|
|||
case RefVal::Owned:
|
||||
assert(V.getCount() > 0);
|
||||
if (V.getCount() == 1)
|
||||
V = V ^ (E == DecRefBridgedTransfered ?
|
||||
RefVal::NotOwned : RefVal::Released);
|
||||
V = V ^ (E == DecRefBridgedTransferred ? RefVal::NotOwned
|
||||
: RefVal::Released);
|
||||
else if (E == DecRefAndStopTrackingHard)
|
||||
return removeRefBinding(state, sym);
|
||||
|
||||
|
|
Loading…
Reference in New Issue