mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-10 11:23:52 +00:00
ObjectiveC migrator. Added a dropped check in my
last patch. llvm-svn: 194238
This commit is contained in:
parent
2ee1d99d00
commit
22626e7b49
@ -418,7 +418,8 @@ void ObjCMigrateASTConsumer::migrateObjCInterfaceDecl(ASTContext &Ctx,
|
||||
// to do unless -objcmt-returns-innerpointer-property option is on.
|
||||
if (!PropertyInferred ||
|
||||
(ASTMigrateActions & FrontendOptions::ObjCMT_ReturnsInnerPointerProperty))
|
||||
migrateNsReturnsInnerPointer(Ctx, Method);
|
||||
if (ASTMigrateActions & FrontendOptions::ObjCMT_Annotation)
|
||||
migrateNsReturnsInnerPointer(Ctx, Method);
|
||||
}
|
||||
if (!(ASTMigrateActions & FrontendOptions::ObjCMT_ReturnsInnerPointerProperty))
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user