mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleObjcMessageTrace: also report method calls from protocol types
This commit is contained in:
@@ -849,6 +849,8 @@ class ObjcMethodReferenceCollector: public SourceEntityWalker {
|
||||
return "interface_type";
|
||||
if (isa<clang::ObjCCategoryDecl>(clangD))
|
||||
return "category_type";
|
||||
if (isa<clang::ObjCProtocolDecl>(clangD))
|
||||
return "protocol_type";
|
||||
return "type";
|
||||
}
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user