forked from OSchip/llvm-project
ObjectiveC migrator: rename inferred isXXX property,
with a suitable 'getter' attribute. llvm-svn: 190420
This commit is contained in:
parent
bac9d13647
commit
c02bfb9a85
|
@ -770,7 +770,7 @@ bool ObjCMigrateASTConsumer::migrateProperty(ASTContext &Ctx,
|
|||
// as a 'readonly' property.
|
||||
edit::Commit commit(*Editor);
|
||||
rewriteToObjCProperty(Method, 0 /*SetterMethod*/, *NSAPIObj, commit,
|
||||
false /*GetterHasIsPrefix*/);
|
||||
GetterHasIsPrefix);
|
||||
Editor->commit(commit);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -97,6 +97,7 @@ typedef char BOOL;
|
|||
- (id) object;
|
||||
+ (double) D;
|
||||
- (void *)JSObject WEBKIT_OBJC_METHOD_ANNOTATION(AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER);
|
||||
- (BOOL)isIgnoringInteractionEvents;
|
||||
@end
|
||||
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ typedef char BOOL;
|
|||
@property(nonatomic, readonly) id isAnObject;
|
||||
- (void)setAnObject : (id) object;
|
||||
|
||||
@property(nonatomic, readonly) BOOL isinValid;
|
||||
@property(nonatomic, getter=isinValid, readonly) BOOL inValid;
|
||||
- (void) setInValid : (BOOL) arg;
|
||||
|
||||
- (void) Nothing;
|
||||
|
@ -97,6 +97,7 @@ typedef char BOOL;
|
|||
@property(nonatomic, readonly) id object;
|
||||
+ (double) D;
|
||||
@property(nonatomic, readonly) void * JSObject WEBKIT_OBJC_METHOD_ANNOTATION(AVAILABLE_WEBKIT_VERSION_3_0_AND_LATER);
|
||||
@property(nonatomic, getter=isIgnoringInteractionEvents, readonly) BOOL ignoringInteractionEvents;
|
||||
@end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue