[clang][ExtractAPI] Fix declaration fragments for ObjC methods
commit4048aad85a843d2b15cb8e60b2ea37f148b7b770
authorZixu Wang <zixu_wang@apple.com>
Wed, 6 Apr 2022 21:53:52 +0000 (6 14:53 -0700)
committerZixu Wang <zixu_wang@apple.com>
Thu, 7 Apr 2022 17:22:41 +0000 (7 10:22 -0700)
tree1c856898f2697d30e5ac068c6b8ccfb5ae69ada6
parent17fdaccccfad9b143e4aadbcdda7f645de127153
[clang][ExtractAPI] Fix declaration fragments for ObjC methods

Objective-C methods selector parts should be considered as identifiers.

Depends on D123259

Differential Revision: https://reviews.llvm.org/D123261
clang/lib/ExtractAPI/DeclarationFragments.cpp
clang/test/ExtractAPI/objc_category.m
clang/test/ExtractAPI/objc_interface.m