diff options
author | Usman Akinyemi <usmanakinyemi202@gmail.com> | 2023-04-04 09:58:03 -0700 |
---|---|---|
committer | Zixu Wang <zixu_wang@apple.com> | 2023-04-04 10:00:34 -0700 |
commit | 32b53cf9d0c8c0e01ce5b0e7d5c717202a98cdf5 (patch) | |
tree | 425c4b8d2e75a5ccadca44425f24c87302154857 /clang/test/ExtractAPI/objc_id_protocol.m | |
parent | 787648989e8ac380b392bd1047ac309475fdcb90 (diff) | |
download | llvm-32b53cf9d0c8c0e01ce5b0e7d5c717202a98cdf5.zip llvm-32b53cf9d0c8c0e01ce5b0e7d5c717202a98cdf5.tar.gz llvm-32b53cf9d0c8c0e01ce5b0e7d5c717202a98cdf5.tar.bz2 |
[ExtractAPI] Remove extra attributes in property declaration fragments
Use `getPropertyAttributesAsWritten` instead of `getPropertyAttributes`
to get property attributes actually specified in the source code.
Resolves issue #61478.
https://reviews.llvm.org/D146759
Reviewed By: zixuw, dang
Differential Revision: https://reviews.llvm.org/D146759
Diffstat (limited to 'clang/test/ExtractAPI/objc_id_protocol.m')
-rw-r--r-- | clang/test/ExtractAPI/objc_id_protocol.m | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/clang/test/ExtractAPI/objc_id_protocol.m b/clang/test/ExtractAPI/objc_id_protocol.m index 551e908..02f4cde 100644 --- a/clang/test/ExtractAPI/objc_id_protocol.m +++ b/clang/test/ExtractAPI/objc_id_protocol.m @@ -124,14 +124,6 @@ }, { "kind": "keyword", - "spelling": "atomic" - }, - { - "kind": "text", - "spelling": ", " - }, - { - "kind": "keyword", "spelling": "copy" }, { @@ -208,30 +200,6 @@ }, { "kind": "keyword", - "spelling": "atomic" - }, - { - "kind": "text", - "spelling": ", " - }, - { - "kind": "keyword", - "spelling": "assign" - }, - { - "kind": "text", - "spelling": ", " - }, - { - "kind": "keyword", - "spelling": "unsafe_unretained" - }, - { - "kind": "text", - "spelling": ", " - }, - { - "kind": "keyword", "spelling": "readwrite" }, { |