Issue 61481
Summary [clang][ExtractAPI] Declaration fragments for `instancetype` in the type position degrade to `id`
Labels good first issue, clang:tooling
Assignees
Reporter daniel-grumberg
    Declaration fragments for `instancetype` in the type position degrade to `id`:

For example:
```obj-c
@interface Foo : NSObject
- (instancetype) init;
@end
```
The generated declaration fragment for the initializer is:
```objc-c
- (id) init
``` 
which is incorrect and less specific than the declaration in the source.

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to