mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
dmd: Deprecate 'in' parameters on non-extern(D,C++) functions (#14951)
This error was introduced in `-preview=in` in v2.101.0. In order to make `-preview=in` the default, we add a deprecation even if `-preview=in` is not used.
This commit is contained in:
parent
6b71b352d8
commit
eca46c71ad
9 changed files with 44 additions and 14 deletions
|
@ -31,8 +31,8 @@ struct objc_method_description
|
|||
}
|
||||
}
|
||||
|
||||
SEL sel_registerName(in char* str);
|
||||
Protocol* objc_getProtocol(in char* name);
|
||||
SEL sel_registerName(scope const char* str);
|
||||
Protocol* objc_getProtocol(scope const char* name);
|
||||
objc_method_description protocol_getMethodDescription(
|
||||
Protocol* proto, SEL aSel, bool isRequiredMethod, bool isInstanceMethod
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue