diff options
Diffstat (limited to 'lib/AST')
-rw-r--r-- | lib/AST/Expr.cpp | 20 | ||||
-rw-r--r-- | lib/AST/StmtDumper.cpp | 8 | ||||
-rw-r--r-- | lib/AST/StmtPrinter.cpp | 4 | ||||
-rw-r--r-- | lib/AST/StmtProfile.cpp | 4 |
4 files changed, 18 insertions, 18 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 225f177903..7cc436c7a9 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -542,10 +542,10 @@ bool Expr::isUnusedResultAWarning(SourceLocation &Loc, SourceRange &R1, case ObjCMessageExprClass: return false; - case ObjCImplctSetterGetterRefExprClass: { // Dot syntax for message send. + case ObjCImplicitSetterGetterRefExprClass: { // Dot syntax for message send. #if 0 - const ObjCImplctSetterGetterRefExpr *Ref = - cast<ObjCImplctSetterGetterRefExpr>(this); + const ObjCImplicitSetterGetterRefExpr *Ref = + cast<ObjCImplicitSetterGetterRefExpr>(this); // FIXME: We really want the location of the '.' here. Loc = Ref->getLocation(); R1 = SourceRange(Ref->getLocation(), Ref->getLocation()); @@ -794,7 +794,7 @@ Expr::isLvalueResult Expr::isLvalueInternal(ASTContext &Ctx) const { return LV_Valid; case ObjCPropertyRefExprClass: // FIXME: check if read-only property. return LV_Valid; - case ObjCImplctSetterGetterRefExprClass: // FIXME: check if read-only property. + case ObjCImplicitSetterGetterRefExprClass: // FIXME: check if read-only property. return LV_Valid; case PredefinedExprClass: return LV_Valid; @@ -915,9 +915,9 @@ Expr::isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc) const { } // Assigning to an 'implicit' property? - else if (isa<ObjCImplctSetterGetterRefExpr>(this)) { - const ObjCImplctSetterGetterRefExpr* Expr = - cast<ObjCImplctSetterGetterRefExpr>(this); + else if (isa<ObjCImplicitSetterGetterRefExpr>(this)) { + const ObjCImplicitSetterGetterRefExpr* Expr = + cast<ObjCImplicitSetterGetterRefExpr>(this); if (Expr->getSetterMethod() == 0) return MLV_NoSetterProperty; } @@ -1863,11 +1863,11 @@ Stmt::child_iterator ObjCIvarRefExpr::child_end() { return &Base+1; } Stmt::child_iterator ObjCPropertyRefExpr::child_begin() { return &Base; } Stmt::child_iterator ObjCPropertyRefExpr::child_end() { return &Base+1; } -// ObjCImplctSetterGetterRefExpr -Stmt::child_iterator ObjCImplctSetterGetterRefExpr::child_begin() { +// ObjCImplicitSetterGetterRefExpr +Stmt::child_iterator ObjCImplicitSetterGetterRefExpr::child_begin() { return &Base; } -Stmt::child_iterator ObjCImplctSetterGetterRefExpr::child_end() { +Stmt::child_iterator ObjCImplicitSetterGetterRefExpr::child_end() { return &Base+1; } diff --git a/lib/AST/StmtDumper.cpp b/lib/AST/StmtDumper.cpp index 6a48d5a47b..ff6d225cdb 100644 --- a/lib/AST/StmtDumper.cpp +++ b/lib/AST/StmtDumper.cpp @@ -148,8 +148,8 @@ namespace { void VisitObjCSelectorExpr(ObjCSelectorExpr *Node); void VisitObjCProtocolExpr(ObjCProtocolExpr *Node); void VisitObjCPropertyRefExpr(ObjCPropertyRefExpr *Node); - void VisitObjCImplctSetterGetterRefExpr( - ObjCImplctSetterGetterRefExpr *Node); + void VisitObjCImplicitSetterGetterRefExpr( + ObjCImplicitSetterGetterRefExpr *Node); void VisitObjCIvarRefExpr(ObjCIvarRefExpr *Node); void VisitObjCSuperExpr(ObjCSuperExpr *Node); }; @@ -522,8 +522,8 @@ void StmtDumper::VisitObjCPropertyRefExpr(ObjCPropertyRefExpr *Node) { Node->getProperty()->getNameAsString().c_str()); } -void StmtDumper::VisitObjCImplctSetterGetterRefExpr( - ObjCImplctSetterGetterRefExpr *Node) { +void StmtDumper::VisitObjCImplicitSetterGetterRefExpr( + ObjCImplicitSetterGetterRefExpr *Node) { DumpExpr(Node); ObjCMethodDecl *Getter = Node->getGetterMethod(); diff --git a/lib/AST/StmtPrinter.cpp b/lib/AST/StmtPrinter.cpp index 9b8dfce00e..36464ca396 100644 --- a/lib/AST/StmtPrinter.cpp +++ b/lib/AST/StmtPrinter.cpp @@ -518,8 +518,8 @@ void StmtPrinter::VisitObjCPropertyRefExpr(ObjCPropertyRefExpr *Node) { OS << Node->getProperty()->getNameAsCString(); } -void StmtPrinter::VisitObjCImplctSetterGetterRefExpr( - ObjCImplctSetterGetterRefExpr *Node) { +void StmtPrinter::VisitObjCImplicitSetterGetterRefExpr( + ObjCImplicitSetterGetterRefExpr *Node) { if (Node->getBase()) { PrintExpr(Node->getBase()); OS << "."; diff --git a/lib/AST/StmtProfile.cpp b/lib/AST/StmtProfile.cpp index 1feee3880a..ff20299168 100644 --- a/lib/AST/StmtProfile.cpp +++ b/lib/AST/StmtProfile.cpp @@ -583,8 +583,8 @@ void StmtProfiler::VisitObjCPropertyRefExpr(ObjCPropertyRefExpr *S) { VisitDecl(S->getProperty()); } -void StmtProfiler::VisitObjCImplctSetterGetterRefExpr( - ObjCImplctSetterGetterRefExpr *S) { +void StmtProfiler::VisitObjCImplicitSetterGetterRefExpr( + ObjCImplicitSetterGetterRefExpr *S) { VisitExpr(S); VisitDecl(S->getGetterMethod()); VisitDecl(S->getSetterMethod()); |