Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Index / arc-complete.m
blob328983c441ecf1f39bfbd44716fb450b80952c9f
1 typedef const void *CFTypeRef;
3 void test(id x) {
4   (__bridge CFTypeRef)x;
9 // RUN: c-index-test -code-completion-at=%s:4:4 %s -fobjc-arc -fobjc-nonfragile-abi | FileCheck -check-prefix=CHECK-CC1 %s
10 // CHECK-CC1: macro definition:{TypedText __autoreleasing} (70)
11 // CHECK-CC1: NotImplemented:{TypedText __bridge}{HorizontalSpace  }{Placeholder type}{RightParen )}{Placeholder expression} (40)
12 // CHECK-CC1: NotImplemented:{TypedText __bridge_retained}{HorizontalSpace  }{Placeholder CF type}{RightParen )}{Placeholder expression} (40)
13 // CHECK-CC1: NotImplemented:{TypedText __bridge_transfer}{HorizontalSpace  }{Placeholder Objective-C type}{RightParen )}{Placeholder expression} (40)
14 // CHECK-CC1: macro definition:{TypedText __strong} (70)
15 // CHECK-CC1: macro definition:{TypedText __unsafe_unretained} (70)
16 // CHECK-CC1: macro definition:{TypedText __weak} (70)