Lines Matching refs:Getr
947 std::string Getr; in RewritePropertyImplDecl() local
951 Getr = "\nextern \"C\" __declspec(dllimport) " in RewritePropertyImplDecl()
955 PD->getGetterMethodDecl(), Getr); in RewritePropertyImplDecl()
956 Getr += "{ "; in RewritePropertyImplDecl()
961 Getr += "typedef "; in RewritePropertyImplDecl()
963 RewriteTypeIntoString(PD->getGetterMethodDecl()->getReturnType(), Getr, in RewritePropertyImplDecl()
965 Getr += " _TYPE"; in RewritePropertyImplDecl()
967 Getr += ")"; // close the precedence "scope" for "*". in RewritePropertyImplDecl()
971 Getr += "("; in RewritePropertyImplDecl()
973 if (i) Getr += ", "; in RewritePropertyImplDecl()
976 Getr += ParamStr; in RewritePropertyImplDecl()
980 Getr += ", "; in RewritePropertyImplDecl()
981 Getr += "..."; in RewritePropertyImplDecl()
983 Getr += ")"; in RewritePropertyImplDecl()
985 Getr += "()"; in RewritePropertyImplDecl()
987 Getr += ";\n"; in RewritePropertyImplDecl()
988 Getr += "return (_TYPE)"; in RewritePropertyImplDecl()
989 Getr += "objc_getProperty(self, _cmd, "; in RewritePropertyImplDecl()
990 RewriteIvarOffsetComputation(OID, Getr); in RewritePropertyImplDecl()
991 Getr += ", 1)"; in RewritePropertyImplDecl()
994 Getr += "return " + getIvarAccessString(OID); in RewritePropertyImplDecl()
995 Getr += "; }"; in RewritePropertyImplDecl()
996 InsertText(startGetterSetterLoc, Getr); in RewritePropertyImplDecl()