ModuleObjcMessageTrace: also report method calls from protocol types

This commit is contained in:
Xi Ge
2024-10-30 17:17:14 -07:00
parent 0d6f0743ab
commit 8d0815e16f
2 changed files with 5 additions and 1 deletions

View File

@@ -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: