forked from OSchip/llvm-project
Remove unused member (& consequently unused parameter) in SA's Call code.
This member became unused in r159559. llvm-svn: 159581
This commit is contained in:
parent
498525e4bb
commit
977a35644e
|
@ -405,16 +405,13 @@ public:
|
|||
///
|
||||
/// Example: obj.prop += 1;
|
||||
class ObjCPropertyAccess : public ObjCMethodCall {
|
||||
const ObjCPropertyRefExpr *PropE;
|
||||
SourceRange EntireRange;
|
||||
|
||||
public:
|
||||
ObjCPropertyAccess(const ObjCPropertyRefExpr *pe, SourceRange range,
|
||||
const ObjCMessageExpr *Msg, const ProgramStateRef St,
|
||||
const LocationContext *LCtx)
|
||||
: ObjCMethodCall(Msg, St, LCtx, CE_ObjCPropertyAccess), PropE(pe),
|
||||
EntireRange(range)
|
||||
{}
|
||||
ObjCPropertyAccess(SourceRange range, const ObjCMessageExpr *Msg,
|
||||
const ProgramStateRef St, const LocationContext *LCtx)
|
||||
: ObjCMethodCall(Msg, St, LCtx, CE_ObjCPropertyAccess), EntireRange(range)
|
||||
{}
|
||||
|
||||
/// \brief Returns true if this property access is calling the setter method.
|
||||
bool isSetter() const {
|
||||
|
|
|
@ -881,9 +881,8 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred,
|
|||
if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(syntactic))
|
||||
syntactic = BO->getLHS();
|
||||
|
||||
if (const ObjCPropertyRefExpr *PR =
|
||||
dyn_cast<ObjCPropertyRefExpr>(syntactic)) {
|
||||
VisitObjCMessage(ObjCPropertyAccess(PR, PO->getSourceRange(), ME,
|
||||
if (isa<ObjCPropertyRefExpr>(syntactic)) {
|
||||
VisitObjCMessage(ObjCPropertyAccess(PO->getSourceRange(), ME,
|
||||
Pred->getState(), LCtx),
|
||||
Pred, Dst);
|
||||
evaluated = true;
|
||||
|
|
Loading…
Reference in New Issue