aboutsummaryrefslogtreecommitdiff
path: root/clang/test/ExtractAPI/objc_id_protocol.m
diff options
context:
space:
mode:
authorUsman Akinyemi <usmanakinyemi202@gmail.com>2023-04-04 09:58:03 -0700
committerZixu Wang <zixu_wang@apple.com>2023-04-04 10:00:34 -0700
commit32b53cf9d0c8c0e01ce5b0e7d5c717202a98cdf5 (patch)
tree425c4b8d2e75a5ccadca44425f24c87302154857 /clang/test/ExtractAPI/objc_id_protocol.m
parent787648989e8ac380b392bd1047ac309475fdcb90 (diff)
downloadllvm-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.m32
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"
},
{