aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CheckObjCDealloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/CheckObjCDealloc.cpp')
-rw-r--r--lib/Analysis/CheckObjCDealloc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/CheckObjCDealloc.cpp b/lib/Analysis/CheckObjCDealloc.cpp
index 39d1e05b94..f6a3fd0112 100644
--- a/lib/Analysis/CheckObjCDealloc.cpp
+++ b/lib/Analysis/CheckObjCDealloc.cpp
@@ -29,8 +29,8 @@ static bool scan_dealloc(Stmt* S, Selector Dealloc) {
if (ObjCMessageExpr* ME = dyn_cast<ObjCMessageExpr>(S))
if (ME->getSelector() == Dealloc)
if (Expr* Receiver = ME->getReceiver()->IgnoreParenCasts())
- if (PreDefinedExpr* E = dyn_cast<PreDefinedExpr>(Receiver))
- if (E->getIdentType() == PreDefinedExpr::ObjCSuper)
+ if (PredefinedExpr* E = dyn_cast<PredefinedExpr>(Receiver))
+ if (E->getIdentType() == PredefinedExpr::ObjCSuper)
return true;
// Recurse to children.