Mercurial > hg > CbC > CbC_llvm
view clang/test/Index/property-getter-setter.m @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
@interface Foo @property (assign,readwrite,getter=b,setter=c:) id a; @property (assign,readonly,getter=e) id d; @property (assign,readwrite) id f; @end // RUN: c-index-test -test-print-type-declaration %s | FileCheck %s // CHECK: ObjCPropertyDecl=a:2:52 [getter,assign,readwrite,setter,] (getter=b) (setter=c:) [typedeclaration=id] [typekind=ObjCId] // CHECK: ObjCPropertyDecl=d:3:41 [readonly,getter,assign,] (getter=e) [typedeclaration=id] [typekind=ObjCId] // CHECK: ObjCPropertyDecl=f:4:33 [assign,readwrite,] [typedeclaration=id] [typekind=ObjCId]