forked from OSchip/llvm-project
ObjectiveC migrator: builtin ObjectiveC types are not
audited types. llvm-svn: 189072
This commit is contained in:
parent
4f64dd2baf
commit
2e9c19cc35
|
@ -788,7 +788,7 @@ AuditedType (QualType AT, bool &IsPoniter) {
|
|||
IsVoidStarType(AT) ||
|
||||
// If an ObjC object is type, assuming that it is not a CF function and
|
||||
// that it is an un-audited function.
|
||||
AT->isObjCObjectPointerType())
|
||||
AT->isObjCObjectPointerType() || AT->isObjCBuiltinType())
|
||||
return false;
|
||||
// All other pointers are assumed audited as harmless.
|
||||
return true;
|
||||
|
|
|
@ -2038,3 +2038,10 @@ void rdar13783514(xpc_connection_t connection) {
|
|||
} // no-warning
|
||||
|
||||
CFAttributedStringRef CFAttributedCreate(void *CFObj CF_CONSUMED) CF_RETURNS_RETAINED;
|
||||
|
||||
@interface Action
|
||||
- (SEL)action;
|
||||
- (void)setAction:(SEL)aSelector;
|
||||
- (id) target;
|
||||
- (void)setTarget:(id)aTarget;
|
||||
@end
|
||||
|
|
|
@ -2140,3 +2140,10 @@ CFAttributedStringRef CFAttributedCreate(void *CFObj CF_CONSUMED) CF_RETURNS_RET
|
|||
|
||||
CF_IMPLICIT_BRIDGING_DISABLED
|
||||
|
||||
|
||||
@interface Action
|
||||
@property(nonatomic) SEL action;
|
||||
|
||||
@property(nonatomic, unsafe_unretained) id target;
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue