parent
4c75de7f39
commit
ec62418fc5
|
@ -99,7 +99,7 @@ Sema::ExprResult Sema::ActOnIdentifierExpr(Scope *S, SourceLocation Loc,
|
||||||
static_cast<Expr*>(SelfExpr.Val), true, true);
|
static_cast<Expr*>(SelfExpr.Val), true, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!strncmp(II.getName(), "super", 5)) {
|
if (SD == 0 && !strncmp(II.getName(), "super", 5)) {
|
||||||
QualType T = Context.getPointerType(Context.getObjCInterfaceType(
|
QualType T = Context.getPointerType(Context.getObjCInterfaceType(
|
||||||
CurMethodDecl->getClassInterface()));
|
CurMethodDecl->getClassInterface()));
|
||||||
return new ObjCSuperRefExpr(T, Loc);
|
return new ObjCSuperRefExpr(T, Loc);
|
||||||
|
|
Loading…
Reference in New Issue